Update app.py
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ def classify_text(text):
|
|
| 58 |
for i, result in enumerate(sorted_results[:3]): # Limiting to the top 3 results
|
| 59 |
output += f"Label {i+1}: {result['label']}, Score: {result['score']:.4f}\n"
|
| 60 |
|
| 61 |
-
output += f"Generation time: {end_time - start_time:.2f} seconds\n"
|
| 62 |
|
| 63 |
return output
|
| 64 |
|
|
|
|
| 58 |
for i, result in enumerate(sorted_results[:3]): # Limiting to the top 3 results
|
| 59 |
output += f"Label {i+1}: {result['label']}, Score: {result['score']:.4f}\n"
|
| 60 |
|
| 61 |
+
# output += f"Generation time: {end_time - start_time:.2f} seconds\n"
|
| 62 |
|
| 63 |
return output
|
| 64 |
|