Spaces:
Runtime error
Runtime error
ruanchaves
commited on
Commit
•
1e15120
1
Parent(s):
9c58193
fix
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ def predict(s1, chosen_model):
|
|
110 |
markdown_description = get_description(max_pos)
|
111 |
scores = { short_score_descriptions[k]:v for k,v in enumerate(logits) }
|
112 |
|
113 |
-
return
|
114 |
|
115 |
|
116 |
inputs = [
|
|
|
110 |
markdown_description = get_description(max_pos)
|
111 |
scores = { short_score_descriptions[k]:v for k,v in enumerate(logits) }
|
112 |
|
113 |
+
return scores, markdown_description
|
114 |
|
115 |
|
116 |
inputs = [
|