ahmadbeilouni commited on
Commit
0a740c7
·
verified ·
1 Parent(s): 00e87e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -17,7 +17,8 @@ REPETITION_PENALTY = 1.8
17
  print("🚀 Preparing environment...")
18
 
19
  # 1️⃣ Upgrade transformers & accelerate
20
- os.system("pip install --upgrade transformers accelerate > /dev/null")
 
21
 
22
  # 2️⃣ Ensure clean download of model
23
  try:
 
17
  print("🚀 Preparing environment...")
18
 
19
  # 1️⃣ Upgrade transformers & accelerate
20
+ os.system("pip install --upgrade pip")
21
+ os.system("pip install --upgrade transformers accelerate safetensors huggingface_hub")
22
 
23
  # 2️⃣ Ensure clean download of model
24
  try: