- Added support for video previews alongside existing image previews.
- Introduced helper functions to detect video URLs and display media accordingly.
- Updated URL widget handling to show the appropriate media type based on the input URL.
- Improved error handling for media loading failures.
This change enhances the user experience by providing a seamless way to preview both images and videos.
- Added 'default_value_url' parameter to allow fetching videos from a specified URL if the input_id is not a URL.
- Updated the logic to handle video fetching, ensuring it uses the correct URL based on the input.
- Improved the return structure for optional parameters, including the new 'default_value_url' with image preview support.
This change enhances flexibility in video input handling for the ComfyUI Deploy.
- Implements integer slider node for ComfyUI Deploy
- Returns INT type instead of FLOAT for proper integer input compatibility
- Uses int(round(float(input_id))) for robust conversion
- Default range 0-10 with step=1 for integer appropriateness
- Includes proper range validation and error handling
- Frontend and API support already exists
Fixes COM-1041
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* feat: enhance apply_random_seed_to_workflow function to support KSampler node type and handle fixed seed settings
* refactor: add flag to skip randomization in apply_random_seed_to_workflow for KSampler nodes
* tweak
* feat: add ComfyUIDeployExternalSeed node for generating random seeds with configurable limits
* refactor: update ComfyUIDeployExternalSeed to use control options for seed generation
* feat: add default_value input for ComfyUIDeployExternalSeed node to enhance seed configuration
* test
* refactor: rename lower_limit and upper_limit to min_value and max_value in ComfyUIDeployExternalSeed for clarity
* refactor: update default_value handling and control options in ComfyUIDeployExternalSeed for improved seed generation logic
* refactor: enhance seed generation logic in ComfyUIDeployExternalSeed by refining control handling and default_value checks
* refactor: update description for default_value in ComfyUIDeployExternalSeed to clarify usage and behavior
* refactor: update upload completion logic to rely on UploadQueue worker for final SUCCESS status
* refactor: clean up commented-out code in upload completion logic
* Fix preview image loading and add support for 3D model uploads
* skip: sending the upload status, make sure, we are also sending the success status after all files is uploaded
This node was created just for an experiment in the previous year, but never was a core feature.
I'm removing it because looks that is braking the import in local machines because i'm seeing this error locally:
```
File "F:\ComfyUI\custom_nodes\comfyui-deploy\comfy-nodes\model_list.py", line 35, in <module>
allModels = fetch_files("./models")
^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\custom_nodes\comfyui-deploy\comfy-nodes\model_list.py", line 23, in fetch_files
fs.extend(fetch_files(f"{dirpath}/{dirname}"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI\custom_nodes\comfyui-deploy\comfy-nodes\model_list.py", line 23, in fetch_files
fs.extend(fetch_files(f"{dirpath}/{dirname}"))
TypeError: 'NoneType' object is not iterable
Cannot import F:\ComfyUI\custom_nodes\comfyui-deploy module for custom nodes: 'NoneType' object is not iterable
```
I'm not sure why, previously was working but was a long time ago and this node was just an experiment, so i'm deleting it
- Add permissions to allow issue writing
- Update action version from `main` to `v1`
- Add condition to run job only for 'BennyKok' repository owner
Co-authored-by: snomiao <snomiao+comfy-pr@gmail.com>