Spaces:
Runtime error
Runtime error
Akshay Vs
commited on
Commit
•
ef0e5a7
1
Parent(s):
90eb9a1
Test UI
Browse files
app.py
CHANGED
@@ -8,8 +8,8 @@ from random import randint
|
|
8 |
# initializing session_state
|
9 |
st.session_state['new']=True
|
10 |
#if st.session_state.new==True:
|
11 |
-
os.system('
|
12 |
-
os.system('
|
13 |
st.session_state.new=False
|
14 |
|
15 |
from transformers import pipeline, set_seed
|
|
|
8 |
# initializing session_state
|
9 |
st.session_state['new']=True
|
10 |
#if st.session_state.new==True:
|
11 |
+
os.system('pip install torch==1.10.2+cu113 torchvision==0.11.3+cu113 torchaudio===0.10.2+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html')
|
12 |
+
os.system('pip install transformers')
|
13 |
st.session_state.new=False
|
14 |
|
15 |
from transformers import pipeline, set_seed
|