MalikShehram commited on
Commit
a3083d4
·
verified ·
1 Parent(s): e918b36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -93,7 +93,6 @@ with gr.Blocks(title="VocaFree AI - Research Prototype", theme=custom_theme) as
93
  with gr.Tab("🎙️ Live Interaction"):
94
  with gr.Row():
95
  with gr.Column(scale=2):
96
- # Removed the problematic 'type="messages"' argument
97
  chatbot = gr.Chatbot(
98
  label="Conversation Transcript",
99
  height=450,
@@ -102,11 +101,12 @@ with gr.Blocks(title="VocaFree AI - Research Prototype", theme=custom_theme) as
102
 
103
  with gr.Column(scale=1):
104
  gr.Markdown("### Input / Output Controls")
 
 
105
  audio_input = gr.Audio(
106
  sources=["microphone"],
107
  type="filepath",
108
- label="1. Record Voice Prompt",
109
- waveform_options=gr.WaveformOptions(show_controls=False)
110
  )
111
  submit_btn = gr.Button("Submit Audio", variant="primary")
112
 
 
93
  with gr.Tab("🎙️ Live Interaction"):
94
  with gr.Row():
95
  with gr.Column(scale=2):
 
96
  chatbot = gr.Chatbot(
97
  label="Conversation Transcript",
98
  height=450,
 
101
 
102
  with gr.Column(scale=1):
103
  gr.Markdown("### Input / Output Controls")
104
+
105
+ # FIX: Removed the waveform_options argument entirely to ensure perfect compatibility
106
  audio_input = gr.Audio(
107
  sources=["microphone"],
108
  type="filepath",
109
+ label="1. Record Voice Prompt"
 
110
  )
111
  submit_btn = gr.Button("Submit Audio", variant="primary")
112