yes2code commited on
Commit
c29fdb5
·
1 Parent(s): cc8349d

Update app.py

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