Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,9 @@ import gradio as gr
|
|
5 |
|
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
|
|
|
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
|