Spaces:
Sleeping
Sleeping
GiladtheFixer
commited on
Commit
•
fa701a2
1
Parent(s):
580809d
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
|
|
|
|
|
|
4 |
pipe=pipeline('sentiment-analysis')
|
5 |
|
6 |
def sentiment_calssifir(text):
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
|
5 |
+
client.view_api(return_format="all_endpoints")
|
6 |
+
|
7 |
pipe=pipeline('sentiment-analysis')
|
8 |
|
9 |
def sentiment_calssifir(text):
|