ldhldh commited on
Commit
e5825df
·
1 Parent(s): 6190d49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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