Spaces:
Build error
Build error
gorkemgoknar
commited on
Commit
·
2d49dac
1
Parent(s):
c80ce81
Update app.py
Browse files
app.py
CHANGED
@@ -199,21 +199,6 @@ interface_mic= gr.Interface(fn=greet,
|
|
199 |
"state"],
|
200 |
outputs=["html","state",gr.outputs.Audio(type="file")],
|
201 |
css=css, title=title, description=description,article=article )
|
202 |
-
interface_file= gr.Interface(fn=greet,
|
203 |
-
inputs=[gr.inputs.Dropdown(personality_choices),
|
204 |
-
gr.inputs.Audio(type="filepath"),
|
205 |
-
"text",
|
206 |
-
"state"],
|
207 |
-
outputs=["html","state",gr.outputs.Audio(type="file")],
|
208 |
-
css=css, title=title, description=description,article=article )
|
209 |
-
|
210 |
-
interface_text = gr.Interface.load("https://huggingface.co/spaces/gorkemgoknar/moviechatbot",
|
211 |
-
src="spaces",
|
212 |
-
inputs=[gr.inputs.Dropdown(personality_choices),
|
213 |
-
"text",
|
214 |
-
"state"],
|
215 |
-
outputs=["html","state"],
|
216 |
-
css=css, title="Chat Text Only", description=description,article=article)
|
217 |
|
218 |
# appinterface = gr.TabbedInterface([interface_mic, interface_file, interface_text], ["Chat with Record", "Chat with File Upload", "Chat Text only"])
|
219 |
if __name__ == "__main__":
|
|
|
199 |
"state"],
|
200 |
outputs=["html","state",gr.outputs.Audio(type="file")],
|
201 |
css=css, title=title, description=description,article=article )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
|
203 |
# appinterface = gr.TabbedInterface([interface_mic, interface_file, interface_text], ["Chat with Record", "Chat with File Upload", "Chat Text only"])
|
204 |
if __name__ == "__main__":
|