Spaces:
Paused
Paused
Pijush2023
commited on
Commit
•
512594e
1
Parent(s):
2531994
Update app.py
Browse files
app.py
CHANGED
@@ -1434,8 +1434,8 @@ with gr.Blocks(theme='Pijush2023/scikit-learn-pijush') as demo:
|
|
1434 |
audio_input = gr.Audio(sources=["microphone"], streaming=True, type='numpy', every=0.1)
|
1435 |
audio_input.stream(transcribe_function, inputs=[state, audio_input], outputs=[state, chat_input], api_name="api_voice_to_text")
|
1436 |
|
1437 |
-
gr.Markdown("<h1 style='color: red;'>Example Prompts</h1>", elem_id="Example-Prompts")
|
1438 |
-
gr.Examples(examples=examples, fn=insert_prompt,inputs=chat_input, outputs=chat_input)
|
1439 |
|
1440 |
# with gr.Column():
|
1441 |
# weather_output = gr.HTML(value=fetch_local_weather())
|
|
|
1434 |
audio_input = gr.Audio(sources=["microphone"], streaming=True, type='numpy', every=0.1)
|
1435 |
audio_input.stream(transcribe_function, inputs=[state, audio_input], outputs=[state, chat_input], api_name="api_voice_to_text")
|
1436 |
|
1437 |
+
# gr.Markdown("<h1 style='color: red;'>Example Prompts</h1>", elem_id="Example-Prompts")
|
1438 |
+
# gr.Examples(examples=examples, fn=insert_prompt,inputs=chat_input, outputs=chat_input)
|
1439 |
|
1440 |
# with gr.Column():
|
1441 |
# weather_output = gr.HTML(value=fetch_local_weather())
|