ar08 commited on
Commit
20c4df5
·
verified ·
1 Parent(s): 960d9a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(theme="compact") as demo:
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", source="microphone")
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):