Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -85,5 +85,7 @@ def transcribe(audio):
|
|
85 |
|
86 |
# Define the Gradio UI interface
|
87 |
# ui = gr.Interface(fn=transcribe, inputs=gr.Audio(source="microphone", type="filepath"), outputs="text")
|
88 |
-
ui = gr.Interface(fn=transcribe, inputs=gr.Audio(source="microphone", type="filepath"), outputs=['text','audio']
|
|
|
|
|
89 |
ui.launch(debug=True)
|
|
|
85 |
|
86 |
# Define the Gradio UI interface
|
87 |
# ui = gr.Interface(fn=transcribe, inputs=gr.Audio(source="microphone", type="filepath"), outputs="text")
|
88 |
+
ui = gr.Interface(fn=transcribe, inputs=gr.Audio(source="microphone", type="filepath"), outputs=['text','audio'],title='Talk to AI Steve Jobs', description = """Click on Record from microphone and start speaking,
|
89 |
+
and when you're done, click on Stop Recording. Then click on Submit. AI Steve will then answer your question. You can continue to ask follow-up questions by clicking on Clear, and then
|
90 |
+
using Record from microphone -> Stop Recording -> Submit AI Steve Jobs will also remember the previous questions and answers.""")
|
91 |
ui.launch(debug=True)
|