broadfield-dev commited on
Commit
4dd17a5
·
verified ·
1 Parent(s): 911f8fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ def process_inputs(image_input, image_url, text_prompt):
94
  iface = gr.Interface(
95
  fn=process_inputs,
96
  inputs=[
97
- gr.Image(type="file", label="Upload Image (optional)"),
98
  gr.Textbox(label="Image URL (optional)", placeholder="Enter image URL"),
99
  gr.Textbox(label="Text Prompt", placeholder="Enter your prompt here")
100
  ],
 
94
  iface = gr.Interface(
95
  fn=process_inputs,
96
  inputs=[
97
+ gr.Image(type="filepath", label="Upload Image (optional)"),
98
  gr.Textbox(label="Image URL (optional)", placeholder="Enter image URL"),
99
  gr.Textbox(label="Text Prompt", placeholder="Enter your prompt here")
100
  ],