RobotJelly commited on
Commit
569ccef
1 Parent(s): 7717b60
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ gr.Interface(fn=image_search, title="Search Image",
66
  inputs=[gr.inputs.Dropdown(["Text-To-Image", "Image-To-Image"]),
67
  gr.inputs.Dropdown(["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], type="index", default="1", label="Select Top K Images"),
68
  gr.inputs.Textbox(lines=3, label="Input Text", placeholder="Enter the text..."),
69
- gr.inputs.Image(type="pil", optional=True)
70
  ],
71
  outputs=gr.outputs.Carousel([gr.outputs.Image(type="pil")]),
72
  enable_queue=True
66
  inputs=[gr.inputs.Dropdown(["Text-To-Image", "Image-To-Image"]),
67
  gr.inputs.Dropdown(["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"], type="index", default="1", label="Select Top K Images"),
68
  gr.inputs.Textbox(lines=3, label="Input Text", placeholder="Enter the text..."),
69
+ gr.inputs.Image(optional=True)
70
  ],
71
  outputs=gr.outputs.Carousel([gr.outputs.Image(type="pil")]),
72
  enable_queue=True