gorkemgoknar commited on
Commit
a4bf7ee
·
1 Parent(s): fcb3f68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -191,7 +191,7 @@ article = "<p style='text-align: center'><a href='https://www.linkedin.com/pulse
191
  examples=[['Gandalf','dragon.wav','Who are you sir?',{}]]
192
 
193
  history = {"character": "None", "message_history" : [] }
194
- interface_mic= gr.Interface(
195
  inputs=[gr.inputs.Dropdown(personality_choices),
196
  gr.inputs.Audio(source="microphone", type="filepath") ,
197
  "text",
@@ -200,7 +200,7 @@ interface_mic= gr.Interface(
200
  css=css, title="Chat with Your Voice", description=description,article=article )
201
 
202
 
203
- interface_text = gr.Interface(
204
  inputs=[gr.inputs.Dropdown(personality_choices),
205
  "text",
206
  "state"],
 
191
  examples=[['Gandalf','dragon.wav','Who are you sir?',{}]]
192
 
193
  history = {"character": "None", "message_history" : [] }
194
+ interface_mic= gr.Interface(fn=greet,
195
  inputs=[gr.inputs.Dropdown(personality_choices),
196
  gr.inputs.Audio(source="microphone", type="filepath") ,
197
  "text",
 
200
  css=css, title="Chat with Your Voice", description=description,article=article )
201
 
202
 
203
+ interface_text = gr.Interface(fn=greet,
204
  inputs=[gr.inputs.Dropdown(personality_choices),
205
  "text",
206
  "state"],