suwonpabby commited on
Commit
6aac084
โ€ข
1 Parent(s): 42bd649
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -14,10 +14,10 @@ import subprocess
14
  import importlib.metadata
15
 
16
  # ๋ชจ๋“ˆ ์„ค์น˜ ๋ช…๋ น
17
- subprocess.run(["pip", "install", "transformers"], check=True)
18
- subprocess.run(["pip", "install", "accelerate"], check=True)
19
- subprocess.run(["pip", "install", "peft"], check=True)
20
- subprocess.run(["pip", "install", "-U", "FlagEmbedding"], check=True)
21
  subprocess.run(["pip", "install", "numpy==2.1.0"], check=True)
22
 
23
  # ์„ค์น˜๋œ ๋ชจ๋“ˆ๋“ค์˜ ํ˜„์žฌ ๋ฒ„์ „ ์ถœ๋ ฅ
 
14
  import importlib.metadata
15
 
16
  # ๋ชจ๋“ˆ ์„ค์น˜ ๋ช…๋ น
17
+ subprocess.run(["pip", "install", "transformers=4.44.2"], check=True)
18
+ subprocess.run(["pip", "install", "accelerate=0.34.2"], check=True)
19
+ subprocess.run(["pip", "install", "peft=0.12.0"], check=True)
20
+ subprocess.run(["pip", "install", "FlagEmbedding=1.2.11"], check=True)
21
  subprocess.run(["pip", "install", "numpy==2.1.0"], check=True)
22
 
23
  # ์„ค์น˜๋œ ๋ชจ๋“ˆ๋“ค์˜ ํ˜„์žฌ ๋ฒ„์ „ ์ถœ๋ ฅ