plutostack commited on
Commit
9cf3054
·
verified ·
1 Parent(s): 7455e7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ import os
2
  os.system("pip3 install transformers")
3
  os.system("pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu")
4
  os.system("pip3 install tensorflow")
 
5
 
6
  import gradio as gr
7
  from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
 
2
  os.system("pip3 install transformers")
3
  os.system("pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu")
4
  os.system("pip3 install tensorflow")
5
+ os.system("pip3 install accelerate")
6
 
7
  import gradio as gr
8
  from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline