kylar55 commited on
Commit
548fd96
·
verified ·
1 Parent(s): 861c573

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.TextBox(shape=(128, 128)), outputs=gr.outputs.Label(num_top_classes=3),examples=["私は吉良吉影、33歳、家は杜王町の北西、大きな家が立ち並ぶところにあり、未婚です。","Esta frase no es un meme","Somebody once told me the world is gonna"]).launch(share=False)
 
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)