mehdilaalali commited on
Commit
66e6d77
·
verified ·
1 Parent(s): ad19b2a

fix: correct gradio 6 launch parameters to prevent localhost crash

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -347,7 +347,7 @@ footer { display: none !important; }
347
  # Initialize voices at startup
348
  INITIAL_VOICES = get_voice_choices()
349
 
350
- with gr.Blocks(title="Voxtral Studio — Mistral AI Audio", css=css) as demo:
351
 
352
  gr.HTML("""
353
  <div class="app-header">
@@ -506,4 +506,4 @@ with gr.Blocks(title="Voxtral Studio — Mistral AI Audio", css=css) as demo:
506
 
507
 
508
  if __name__ == "__main__":
509
- demo.launch(server_name="0.0.0.0", server_port=7860)
 
347
  # Initialize voices at startup
348
  INITIAL_VOICES = get_voice_choices()
349
 
350
+ with gr.Blocks(title="Voxtral Studio — Mistral AI Audio") as demo:
351
 
352
  gr.HTML("""
353
  <div class="app-header">
 
506
 
507
 
508
  if __name__ == "__main__":
509
+ demo.launch(server_name="0.0.0.0", server_port=7860, css=css, ssr_mode=False)