Spaces:
Running
on
Zero
Running
on
Zero
khang119966
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -252,11 +252,11 @@ def transcribe_speech(filepath):
|
|
252 |
},
|
253 |
chunk_length_s=30,
|
254 |
batch_size=1,
|
255 |
-
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(
|