Spaces:
Runtime error
Runtime error
Update hackaprompt/gradio_app.py
Browse files
hackaprompt/gradio_app.py
CHANGED
|
@@ -25,7 +25,7 @@ def format_evaluation(correct: bool) -> str:
|
|
| 25 |
"""
|
| 26 |
Format the evaluation for display in the UI.
|
| 27 |
"""
|
| 28 |
-
return "Your Prompt Was Worthy
|
| 29 |
|
| 30 |
|
| 31 |
def log_to_db(response, session_id):
|
|
|
|
| 25 |
"""
|
| 26 |
Format the evaluation for display in the UI.
|
| 27 |
"""
|
| 28 |
+
return "Your Prompt Was Worthy π!" if correct else "Your Prompt Was NOT Worthy π"
|
| 29 |
|
| 30 |
|
| 31 |
def log_to_db(response, session_id):
|