Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -75,7 +75,11 @@ def tokenize(input_text):
|
|
| 75 |
sorted_results = sorted(results.items(), key=lambda x: x[1], reverse=True)
|
| 76 |
|
| 77 |
lens = "\n".join([f"{model}: {tokens}" for model, tokens in sorted_results])
|
| 78 |
-
toks = "
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
return lens + "\n" + toks
|
| 80 |
|
| 81 |
|
|
|
|
| 75 |
sorted_results = sorted(results.items(), key=lambda x: x[1], reverse=True)
|
| 76 |
|
| 77 |
lens = "\n".join([f"{model}: {tokens}" for model, tokens in sorted_results])
|
| 78 |
+
toks = ""
|
| 79 |
+
|
| 80 |
+
for model, tokens in results2.items():
|
| 81 |
+
toks += f"\n{model}: {tokens}"
|
| 82 |
+
|
| 83 |
return lens + "\n" + toks
|
| 84 |
|
| 85 |
|