Commit
·
2592bac
1
Parent(s):
afd8926
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ classifier = pipeline("sentiment-analysis")
|
|
6 |
def predict(text):
|
7 |
return classifier(text)
|
8 |
|
9 |
-
demo gr.Interface(
|
10 |
fn=predict,
|
11 |
inputs='text',
|
12 |
outputs='text',
|
|
|
6 |
def predict(text):
|
7 |
return classifier(text)
|
8 |
|
9 |
+
demo = gr.Interface(
|
10 |
fn=predict,
|
11 |
inputs='text',
|
12 |
outputs='text',
|