Spaces:
Running
Running
output_text string
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def predict(deepmoji_analysis):
|
|
14 |
|
15 |
output_text = ""
|
16 |
for p in predictions:
|
17 |
-
output_text += p['label'] + p['score'] + "\n"
|
18 |
return output_text
|
19 |
|
20 |
gradio_app = gr.Interface(
|
|
|
14 |
|
15 |
output_text = ""
|
16 |
for p in predictions:
|
17 |
+
output_text += p['label'] + ' (' + str(p['score']) + ")\n"
|
18 |
return output_text
|
19 |
|
20 |
gradio_app = gr.Interface(
|