gorkemgoknar commited on
Commit
97c71c7
1 Parent(s): 9853581

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -153,10 +153,12 @@ article = "<p style='text-align: center'><a href='https://www.linkedin.com/pulse
153
  #History not implemented in this demo, use metayazar.com/chatbot for a movie and character dropdown chat interface
154
  ##interface = gr.Interface(fn=greet, inputs=[gr.inputs.Dropdown(personality_choices) ,"text"], title=title, description=description, outputs="text")
155
 
 
 
156
  history = {"character": "None", "message_history" : [] }
157
  interface= gr.Interface(fn=greet,
158
  inputs=[gr.inputs.Dropdown(personality_choices),gr.inputs.Audio(source="microphone", type="filepath") ,"text", "state"],
159
- outputs=["html","state",gr.Audio(type="filepath")],
160
 
161
  css=css, title=title, description=description,article=article )
162
 
 
153
  #History not implemented in this demo, use metayazar.com/chatbot for a movie and character dropdown chat interface
154
  ##interface = gr.Interface(fn=greet, inputs=[gr.inputs.Dropdown(personality_choices) ,"text"], title=title, description=description, outputs="text")
155
 
156
+ examples=[['Gandalf','Hello','test.wav']]
157
+
158
  history = {"character": "None", "message_history" : [] }
159
  interface= gr.Interface(fn=greet,
160
  inputs=[gr.inputs.Dropdown(personality_choices),gr.inputs.Audio(source="microphone", type="filepath") ,"text", "state"],
161
+ outputs=["html","state"],
162
 
163
  css=css, title=title, description=description,article=article )
164