Spaces:
Running
Running
Update app.py
Browse files
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
|