Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,5 +7,5 @@ classifier = pipeline("sentiment-analysis")
|
|
7 |
def get_class(input):
|
8 |
return classifier("I've been waiting for a HuggingFace course my whole life.")
|
9 |
|
10 |
-
iface = gr.Interface(fn=get_class, inputs="text", outputs=['text'], title='hello',
|
11 |
iface.launch()
|
|
|
7 |
def get_class(input):
|
8 |
return classifier("I've been waiting for a HuggingFace course my whole life.")
|
9 |
|
10 |
+
iface = gr.Interface(fn=get_class, inputs="text", outputs=['text'], title='hello', description='play around')
|
11 |
iface.launch()
|