khang119966 commited on
Commit
6ffa911
·
verified ·
1 Parent(s): c0db4f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -252,11 +252,11 @@ def transcribe_speech(filepath):
252
  },
253
  chunk_length_s=30,
254
  batch_size=1,
255
- device=device,
256
  )
257
  return output["text"]
258
 
259
- demo = gr.Blocks()
260
 
261
  with demo:
262
  chat_demo_interface = gr.ChatInterface(
 
252
  },
253
  chunk_length_s=30,
254
  batch_size=1,
255
+ device=0,
256
  )
257
  return output["text"]
258
 
259
+ demo = gr.Blocks(css=CSS,js=js, theme='NoCrypt/miku')
260
 
261
  with demo:
262
  chat_demo_interface = gr.ChatInterface(