Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -120,7 +120,7 @@ def classify_text(text):
|
|
| 120 |
fig, ax = plt.subplots(figsize=(10, 5))
|
| 121 |
bars = ax.barh(top_5_labels, top_5_probs, color='#4CAF50', alpha=0.8)
|
| 122 |
ax.set_xlabel('Probability', fontsize=12)
|
| 123 |
-
ax.set_title('Top 5
|
| 124 |
ax.invert_yaxis()
|
| 125 |
ax.grid(axis='x', linestyle='--', alpha=0.6)
|
| 126 |
|
|
|
|
| 120 |
fig, ax = plt.subplots(figsize=(10, 5))
|
| 121 |
bars = ax.barh(top_5_labels, top_5_probs, color='#4CAF50', alpha=0.8)
|
| 122 |
ax.set_xlabel('Probability', fontsize=12)
|
| 123 |
+
ax.set_title('Top 5 Predictions', fontsize=14, fontweight='bold')
|
| 124 |
ax.invert_yaxis()
|
| 125 |
ax.grid(axis='x', linestyle='--', alpha=0.6)
|
| 126 |
|