BALAKA commited on
Commit
b46931a
·
1 Parent(s): 8c42cdf
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -314,12 +314,12 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo: # Added a soft theme
314
  submit_twitch_button = gr.Button("Fetch and Analyze Twitch VOD")
315
 
316
  # --- Button Click Handlers ---
317
- submit_voice_button.click(
318
- fn=process_audio_file,
319
- inputs=[voice_input],
320
- outputs=[voice_output_text],
321
- api_name="analyze_microphone_audio" # Add API name for programmatic access
322
- )
323
  submit_file_button.click(
324
  fn=process_audio_file,
325
  inputs=[file_input],
 
314
  submit_twitch_button = gr.Button("Fetch and Analyze Twitch VOD")
315
 
316
  # --- Button Click Handlers ---
317
+ # submit_voice_button.click(
318
+ # fn=process_audio_file,
319
+ # inputs=[voice_input],
320
+ # outputs=[voice_output_text],
321
+ # api_name="analyze_microphone_audio" # Add API name for programmatic access
322
+ # )
323
  submit_file_button.click(
324
  fn=process_audio_file,
325
  inputs=[file_input],