ronniet commited on
Commit
3238595
1 Parent(s): 5bad71b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()