Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -225,7 +225,7 @@ def classifyTimeFrame(user_input):
|
|
225 |
print(prediction)
|
226 |
predicted_label = label_mapping[prediction[0]]
|
227 |
|
228 |
-
|
229 |
print(f"Predicted intent: {predicted_label}\n")
|
230 |
# Print the confidence for each label
|
231 |
print("\nLabel Confidence Scores:")
|
|
|
225 |
print(prediction)
|
226 |
predicted_label = label_mapping[prediction[0]]
|
227 |
|
228 |
+
result = f"Predicted intent: {predicted_label}\n"
|
229 |
print(f"Predicted intent: {predicted_label}\n")
|
230 |
# Print the confidence for each label
|
231 |
print("\nLabel Confidence Scores:")
|