Spaces:
Running
Running
Update app.py
Browse files
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="
|
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 |
],
|