inigo99 commited on
Commit
2b05b7d
·
1 Parent(s): 70c2cc3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,5 +15,5 @@ def predict(text):
15
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
16
 
17
  # Creamos la interfaz y la lanzamos.
18
- gr.Interface(fn=predict, inputs=gr.inputs.Textbox(), outputs=gr.outputs.Label(num_top_classes=2), examples=["xxbos who are ' they ' ? well , they 're ' they ' . they 're the xxunk , easily xxunk forces that serve as whatever terror the heroes of horror movies try to avoid . they exist for xxunk lines like ' they 're back ! ' , ' they 're out there ! ' and ' they 're coming ! '", "xxbos [ city ] reminds us how realistically nuanced a robert de niro performance can be when he is not more xxunk engaged in the shameless self - xxunk of ' analyze this ' ( 1 xxrep 3 9 ) and ' analyze that , ' xxunk ( or xxunk ) for later this year ."]).launch(share=False)
19
 
 
15
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
16
 
17
  # Creamos la interfaz y la lanzamos.
18
+ gr.Interface(fn=predict, inputs=gr.inputs.Textbox(), outputs=gr.outputs.Label(num_top_classes=2)).launch(share=False)
19