Joffrey Thomas commited on
Commit
f5dde14
·
1 Parent(s): 2686978

update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -392,8 +392,7 @@ def process_audio(audio, session):
392
 
393
  # Gradio interface
394
  with gr.Blocks(title="Voxtral Real-time Transcription") as demo:
395
- # Create session state
396
- session_state = gr.State(value=UserSession)
397
 
398
  # Header
399
  gr.HTML(get_header_html())
 
392
 
393
  # Gradio interface
394
  with gr.Blocks(title="Voxtral Real-time Transcription") as demo:
395
+ session_state = gr.State(value=lambda: UserSession())
 
396
 
397
  # Header
398
  gr.HTML(get_header_html())