Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import torch
|
2 |
import whisperx
|
|
|
3 |
|
4 |
# 检测设备类型
|
5 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
|
|
1 |
import torch
|
2 |
import whisperx
|
3 |
+
import gradio as gr
|
4 |
|
5 |
# 检测设备类型
|
6 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|