Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -63,14 +63,14 @@ def predict(image):
|
|
63 |
|
64 |
return text, audio
|
65 |
|
66 |
-
theme = gr.themes.Default(primary_hue="#002A5B")
|
67 |
|
68 |
demo = gr.Interface(
|
69 |
fn=predict,
|
70 |
inputs=gr.Image(type="pil"),
|
71 |
-
outputs=[
|
72 |
css=".gradio-container {background-color: #002A5B}",
|
73 |
-
theme=
|
74 |
)
|
75 |
|
76 |
demo.launch()
|
|
|
63 |
|
64 |
return text, audio
|
65 |
|
66 |
+
# theme = gr.themes.Default(primary_hue="#002A5B")
|
67 |
|
68 |
demo = gr.Interface(
|
69 |
fn=predict,
|
70 |
inputs=gr.Image(type="pil"),
|
71 |
+
outputs=[gr.Textbox(label="Caption"), gr.Audio(type="numpy",label="Audio Feedback")],
|
72 |
css=".gradio-container {background-color: #002A5B}",
|
73 |
+
theme=gr.themes.Glass()
|
74 |
)
|
75 |
|
76 |
demo.launch()
|