Update app.py
Browse files
app.py
CHANGED
|
@@ -54,11 +54,12 @@ def ask_interview_question(respondent_agent_full, question):
|
|
| 54 |
|
| 55 |
task_output = question_task.output
|
| 56 |
|
|
|
|
| 57 |
if task_output.raw:
|
| 58 |
answer = task_output.raw
|
| 59 |
return answer
|
| 60 |
else:
|
| 61 |
-
print(
|
| 62 |
except Exception as e:
|
| 63 |
exc_type, exc_value, exc_traceback = sys.exc_info()
|
| 64 |
print("Exception type:", exc_type)
|
|
|
|
| 54 |
|
| 55 |
task_output = question_task.output
|
| 56 |
|
| 57 |
+
print(f"Task output: {task_output}")
|
| 58 |
if task_output.raw:
|
| 59 |
answer = task_output.raw
|
| 60 |
return answer
|
| 61 |
else:
|
| 62 |
+
print("No raw task output - WTH?")
|
| 63 |
except Exception as e:
|
| 64 |
exc_type, exc_value, exc_traceback = sys.exc_info()
|
| 65 |
print("Exception type:", exc_type)
|