Update app.py
Browse files
app.py
CHANGED
@@ -20,6 +20,6 @@ def predict(txt):
|
|
20 |
# Modelo de clasificaci贸n basados en mecanismos de atenci贸n
|
21 |
#return classifier(txt)['label']
|
22 |
|
23 |
-
gr.Interface(fn=predict, inputs=
|
24 |
examples=['lovingly photographed in the manner of a golden book sprung to life , stuart little 2 manages sweetness largely without stickiness .',
|
25 |
'the thing looks like a made-for-home-video quickie .']).launch(share=True)
|
|
|
20 |
# Modelo de clasificaci贸n basados en mecanismos de atenci贸n
|
21 |
#return classifier(txt)['label']
|
22 |
|
23 |
+
gr.Interface(fn=predict, inputs="text", outputs="text",
|
24 |
examples=['lovingly photographed in the manner of a golden book sprung to life , stuart little 2 manages sweetness largely without stickiness .',
|
25 |
'the thing looks like a made-for-home-video quickie .']).launch(share=True)
|