Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import AutoTokenizer
|
3 |
import os
|
4 |
|
|
|
5 |
os.system("pip install git+https://github.com/bigscience-workshop/petals")
|
6 |
|
7 |
from petals import AutoDistributedModelForCausalLM
|
|
|
2 |
from transformers import AutoTokenizer
|
3 |
import os
|
4 |
|
5 |
+
os.system("python -m pip install --upgrade pip")
|
6 |
os.system("pip install git+https://github.com/bigscience-workshop/petals")
|
7 |
|
8 |
from petals import AutoDistributedModelForCausalLM
|