lehduong commited on
Commit
0f307df
1 Parent(s): ee6e68b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 with LLaVA captioner
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 generate descriptive captions for your uploaded images (depend on the task). You can enter a custom message in the "Custom Message for captioner" textbox e.g., "caption in 30 words" instead of 50 words.
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