Akshay Vs commited on
Commit
90eb9a1
1 Parent(s): d38987e
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -7,10 +7,10 @@ from random import randint
7
 
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
16
 
 
7
 
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
16