Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ def transcribe_and_chat(audio):
|
|
98 |
return response, audio_path
|
99 |
|
100 |
def create_demo():
|
101 |
-
with gr.Blocks(
|
102 |
gr.Markdown(
|
103 |
"""
|
104 |
# 🗣️ AI Voice Assistant
|
@@ -108,7 +108,7 @@ def create_demo():
|
|
108 |
|
109 |
with gr.Row():
|
110 |
with gr.Column(scale=1):
|
111 |
-
audio_input = gr.Audio(type="filepath", label="🎤 Record your voice", elem_id="audio-input"
|
112 |
clear_button = gr.Button("Clear", variant="secondary", elem_id="clear-button")
|
113 |
|
114 |
with gr.Column(scale=1):
|
|
|
98 |
return response, audio_path
|
99 |
|
100 |
def create_demo():
|
101 |
+
with gr.Blocks() as demo:
|
102 |
gr.Markdown(
|
103 |
"""
|
104 |
# 🗣️ AI Voice Assistant
|
|
|
108 |
|
109 |
with gr.Row():
|
110 |
with gr.Column(scale=1):
|
111 |
+
audio_input = gr.Audio(type="filepath", label="🎤 Record your voice", elem_id="audio-input")
|
112 |
clear_button = gr.Button("Clear", variant="secondary", elem_id="clear-button")
|
113 |
|
114 |
with gr.Column(scale=1):
|