sailormars18 commited on
Commit
9ceb8d0
·
1 Parent(s): c5e142f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -46,8 +46,9 @@ auto_reconnect_thread.start()
46
 
47
  # Python equivalent syntax of the Colab Notebook
48
 
49
- # Install required libraries
50
- !pip install transformers torch gradio
 
51
 
52
  # Download and extract the Yelp review dataset
53
  import urllib.request
 
46
 
47
  # Python equivalent syntax of the Colab Notebook
48
 
49
+ import subprocess
50
+
51
+ subprocess.run(["pip", "install", "transformers", "torch", "gradio"])
52
 
53
  # Download and extract the Yelp review dataset
54
  import urllib.request