Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -404,7 +404,7 @@ def process_images_for_task_type(images_state: List[Image.Image], task_type: str
|
|
404 |
|
405 |
with gr.Blocks(title="OneDiffusion Demo") as demo:
|
406 |
gr.Markdown("""
|
407 |
-
# OneDiffusion Demo
|
408 |
|
409 |
**Welcome to the OneDiffusion Demo!**
|
410 |
|
@@ -414,7 +414,7 @@ with gr.Blocks(title="OneDiffusion Demo") as demo:
|
|
414 |
|
415 |
2. **Upload Images**: Drag and drop images directly onto the upload area, or click to select files from your device.
|
416 |
|
417 |
-
3. **Generate Captions**: **If you upload any images**, Click the "Generate Captions" button to
|
418 |
|
419 |
4. **Configure Generation Settings**: Expand the "Advanced Configuration" section to adjust parameters like the number of inference steps, guidance scale, image size, and more.
|
420 |
|
|
|
404 |
|
405 |
with gr.Blocks(title="OneDiffusion Demo") as demo:
|
406 |
gr.Markdown("""
|
407 |
+
# OneDiffusion Demo without captioner
|
408 |
|
409 |
**Welcome to the OneDiffusion Demo!**
|
410 |
|
|
|
414 |
|
415 |
2. **Upload Images**: Drag and drop images directly onto the upload area, or click to select files from your device.
|
416 |
|
417 |
+
3. **Generate Captions**: **If you upload any images**, Click the "Generate Captions" button to format the text prompt according to chosen task. In this demo, you will NEED to provide the caption of each source image manually.
|
418 |
|
419 |
4. **Configure Generation Settings**: Expand the "Advanced Configuration" section to adjust parameters like the number of inference steps, guidance scale, image size, and more.
|
420 |
|