Spaces:
Runtime error
Runtime error
Commit
·
821a376
1
Parent(s):
c43093e
Update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,6 @@ import os
|
|
3 |
import json
|
4 |
import requests
|
5 |
|
6 |
-
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
7 |
-
|
8 |
whisper = gr.Interface.load(name="spaces/sanchit-gandhi/whisper-large-v2")
|
9 |
|
10 |
#input_message.submit([input_message, history], [input_message, chatbot, history])
|
|
|
3 |
import json
|
4 |
import requests
|
5 |
|
|
|
|
|
6 |
whisper = gr.Interface.load(name="spaces/sanchit-gandhi/whisper-large-v2")
|
7 |
|
8 |
#input_message.submit([input_message, history], [input_message, chatbot, history])
|