Update app.py
Browse files
app.py
CHANGED
@@ -9,5 +9,5 @@ def predict(frase):
|
|
9 |
pred, pred_idx, probs = learn.predict(frase)
|
10 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
11 |
|
12 |
-
gr.Interface(fn=predict, inputs="text", outputs="text", examples=['
|
13 |
']).launch(share=False)
|
|
|
9 |
pred, pred_idx, probs = learn.predict(frase)
|
10 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
11 |
|
12 |
+
gr.Interface(fn=predict, inputs="text", outputs="text", examples=['im feeling rather rotten so im not very ambitious right now','im updating my blog because i feel shitty
|
13 |
']).launch(share=False)
|