StevenChen16 commited on
Commit
d6c72bf
1 Parent(s): 86a1f13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,9 +1,9 @@
 
1
  import whisperx
2
  import torch
3
  import gradio as gr
4
  import tempfile
5
  import os
6
- import spaces
7
 
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
  batch_size = 4 # 如果GPU内存不足,可适当减少
 
1
+ import spaces
2
  import whisperx
3
  import torch
4
  import gradio as gr
5
  import tempfile
6
  import os
 
7
 
8
  device = "cuda" if torch.cuda.is_available() else "cpu"
9
  batch_size = 4 # 如果GPU内存不足,可适当减少