srinuksv commited on
Commit
c4896c1
Β·
verified Β·
1 Parent(s): 39c0177

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +4 -2
requirements.txt CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  # Core dependencies
2
  gradio==5.21.0
3
  gradio_client==1.7.2
@@ -10,8 +14,6 @@ modelscope_studio==1.2.2
10
  git+https://github.com/huggingface/transformers@3a1ead0aabed473eafe527915eea8c197d424356
11
  accelerate
12
  av
13
- torch # Install torch first
14
- torchvision
15
 
16
  # Optional dependency
17
  # Uncomment the following line if you need flash-attn
 
1
+ # Install PyTorch first to avoid dependency errors
2
+ torch
3
+ torchvision
4
+
5
  # Core dependencies
6
  gradio==5.21.0
7
  gradio_client==1.7.2
 
14
  git+https://github.com/huggingface/transformers@3a1ead0aabed473eafe527915eea8c197d424356
15
  accelerate
16
  av
 
 
17
 
18
  # Optional dependency
19
  # Uncomment the following line if you need flash-attn