Jaward commited on
Commit
ac236d5
·
verified ·
1 Parent(s): 0084aec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -185,7 +185,7 @@ with gr.Blocks(css="style.css") as demo:
185
 
186
  with gr.Row():
187
  with gr.Column(scale=1):
188
- input_audio = gr.Audio(label="User Input", sources=["microphone"], type="filepath")
189
  select = gr.Dropdown([
190
  'Llama 3 8B Service',
191
  'Mixtral 8x7B',
@@ -212,8 +212,8 @@ with gr.Blocks(css="style.css") as demo:
212
  clear_button = gr.Button("Clear Conversation History")
213
 
214
  with gr.Column(scale=1):
215
- output_audio = gr.Audio(label="AI Response", type="filepath", interactive=False, autoplay=True)
216
- translated_audio = gr.Audio(label="Translated Audio", type="filepath", interactive=False, autoplay=True)
217
  status_message = gr.Textbox(label="Status", interactive=False)
218
 
219
  input_audio.change(
 
185
 
186
  with gr.Row():
187
  with gr.Column(scale=1):
188
+ input_audio = gr.Audio(label="Click record and start speaking", sources=["microphone"], type="filepath")
189
  select = gr.Dropdown([
190
  'Llama 3 8B Service',
191
  'Mixtral 8x7B',
 
212
  clear_button = gr.Button("Clear Conversation History")
213
 
214
  with gr.Column(scale=1):
215
+ output_audio = gr.Audio(label="AI Voice Assistant's Response", type="filepath", interactive=False, autoplay=True)
216
+ translated_audio = gr.Audio(label="Translated Speech", type="filepath", interactive=False, autoplay=True)
217
  status_message = gr.Textbox(label="Status", interactive=False)
218
 
219
  input_audio.change(