Spaces:
Build error
Build error
gorkemgoknar
commited on
Commit
•
e689a3a
1
Parent(s):
dc2293f
Update app.py
Browse files
app.py
CHANGED
@@ -177,7 +177,7 @@ article = "<p style='text-align: center'><a href='https://www.linkedin.com/pulse
|
|
177 |
|
178 |
history = {"character": "None", "message_history" : [] }
|
179 |
interface= gr.Interface(fn=greet,
|
180 |
-
inputs=[gr.inputs.Dropdown(personality_choices) ,"text", "state"],
|
181 |
outputs=["html","state",gr.Audio(type="filepath")],
|
182 |
|
183 |
css=css, title=title, description=description,article=article )
|
|
|
177 |
|
178 |
history = {"character": "None", "message_history" : [] }
|
179 |
interface= gr.Interface(fn=greet,
|
180 |
+
inputs=[gr.Audio(source="microphone", type="filepath"),gr.inputs.Dropdown(personality_choices) ,"text", "state"],
|
181 |
outputs=["html","state",gr.Audio(type="filepath")],
|
182 |
|
183 |
css=css, title=title, description=description,article=article )
|