ronniet commited on
Commit
35a5116
1 Parent(s): 9ac034b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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=['text', gr.Audio(type="numpy")],
72
  css=".gradio-container {background-color: #002A5B}",
73
- theme=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()