Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def predict(image, prompt):
|
|
81 |
|
82 |
demo = gr.Interface(
|
83 |
fn=predict,
|
84 |
-
inputs=[gr.Image(type="pil",label="Environment"), gr.Textbox(label="Prompt", value="What is in the scene?")]
|
85 |
outputs=[gr.Textbox(label="Caption"), gr.Audio(type="numpy",label="Audio Feedback")],
|
86 |
css=".gradio-container {background-color: #002A5B}",
|
87 |
theme=gr.themes.Soft()
|
|
|
81 |
|
82 |
demo = gr.Interface(
|
83 |
fn=predict,
|
84 |
+
inputs=[gr.Image(type="pil",label="Environment"), gr.Textbox(label="Prompt", value="What is in the scene?")],
|
85 |
outputs=[gr.Textbox(label="Caption"), gr.Audio(type="numpy",label="Audio Feedback")],
|
86 |
css=".gradio-container {background-color: #002A5B}",
|
87 |
theme=gr.themes.Soft()
|