enoreyes commited on
Commit
f0ba419
1 Parent(s): ef04ed7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -107,12 +107,10 @@ def predict(input, history=[]):
107
  return formatted_message, history
108
 
109
  demo = gr.Interface(
110
- audio_tag,
111
  [
112
  gr.Audio(source="upload", type="filepath", label="Your audio"),
113
- gr.Textbox(),
114
  ],
115
- fn=predict,
116
  inputs=["text", "state"],
117
  outputs=["chatbot", "state"],
118
  title="AnyChat",
 
107
  return formatted_message, history
108
 
109
  demo = gr.Interface(
110
+ fn=predict,
111
  [
112
  gr.Audio(source="upload", type="filepath", label="Your audio"),
 
113
  ],
 
114
  inputs=["text", "state"],
115
  outputs=["chatbot", "state"],
116
  title="AnyChat",