PPloychor commited on
Commit
871033f
·
verified ·
1 Parent(s): 9c4867b

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +1 -17
requirements.txt CHANGED
@@ -1,21 +1,5 @@
1
- import sys, subprocess
2
-
3
- def _safe_pip_install(pkg_spec: str):
4
- try:
5
- __import__(pkg_spec.split("==")[0].replace("-", "_"))
6
- except ImportError:
7
- subprocess.check_call([sys.executable, "-m", "pip", "install", "-q", pkg_spec])
8
-
9
- # ติดตั้งถ้ายังไม่มี (กันเหนียว)
10
- _safe_pip_install("yt-dlp==2024.10.07")
11
- _safe_pip_install("transformers>=4.44.0")
12
- _safe_pip_install("gradio>=4.44.0")
13
- _safe_pip_install("spaces>=0.26.0")
14
-
15
  transformers>=4.44.0
16
  torch>=2.1.0
17
- gradio>=4.44.0
18
- yt-dlp>=2024.10.07
19
  accelerate>=0.33.0
20
  sentencepiece>=0.1.99
21
- spaces>=0.26.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  transformers>=4.44.0
2
  torch>=2.1.0
3
+ gradio==5.49.1
 
4
  accelerate>=0.33.0
5
  sentencepiece>=0.1.99