yes2code commited on
Commit
f2826d5
·
1 Parent(s): 73d7197

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -5,11 +5,11 @@ import gradio as gr
5
 
6
  #iface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
  #iface.launch()
8
- git clone https://github.com/huggingface/transformers.git
9
- cd transformers
10
- pip install
11
- python -c "from transformers import pipeline; print(pipeline('sentiment-analysis')('we love you'))"
12
-
13
  #source .env/bin/activate
14
  #pipenv install git+https://github.com/huggingface/transformers
15
  #python -m pip install git+https://github.com/huggingface/transformers
 
5
 
6
  #iface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
  #iface.launch()
8
+ #git clone https://github.com/huggingface/transformers.git
9
+ #cd transformers
10
+ #pip install
11
+ #python -c "from transformers import pipeline; print(pipeline('sentiment-analysis')('we love you'))"
12
+ pip install 'transformers[torch]'
13
  #source .env/bin/activate
14
  #pipenv install git+https://github.com/huggingface/transformers
15
  #python -m pip install git+https://github.com/huggingface/transformers