Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ from transformers import pipeline
|
|
| 4 |
|
| 5 |
def greet(name):
|
| 6 |
pipe = pipeline('text-classification')
|
| 7 |
-
result = pipe(
|
| 8 |
return result
|
| 9 |
|
| 10 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
|
| 4 |
|
| 5 |
def greet(name):
|
| 6 |
pipe = pipeline('text-classification')
|
| 7 |
+
result = pipe(name)
|
| 8 |
return result
|
| 9 |
|
| 10 |
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|