balaramas commited on
Commit
eb0342c
1 Parent(s): 49c09fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,7 +1,9 @@
1
  import gradio as gr
2
  import subprocess
 
3
  subprocess.check_call(["pip", "install", "transformers"])
4
  subprocess.check_call(["pip", "install", "torch"])
 
5
 
6
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
7
 
 
1
  import gradio as gr
2
  import subprocess
3
+ subprocess.check_call(["pip", "install", "--upgrade", "huggingface-hub"])
4
  subprocess.check_call(["pip", "install", "transformers"])
5
  subprocess.check_call(["pip", "install", "torch"])
6
+
7
 
8
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
9