Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,4 +24,4 @@ def predict(text):
|
|
24 |
return "other"
|
25 |
|
26 |
# Creamos la interfaz y la lanzamos.
|
27 |
-
gr.Interface(fn=predict, inputs=gr.inputs.
|
|
|
24 |
return "other"
|
25 |
|
26 |
# Creamos la interfaz y la lanzamos.
|
27 |
+
gr.Interface(fn=predict, inputs=gr.inputs.Textbox(shape=(128, 128)), outputs=gr.outputs.Label(num_top_classes=1),examples=["私は吉良吉影、33歳、家は杜王町の北西、大きな家が立ち並ぶところにあり、未婚です。","Esta frase no es un meme","Somebody once told me the world is gonna"]).launch(share=False)
|