Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ def generate_pdf_report(participant_name, responses, mbti_type_classic, mbti_typ
|
|
99 |
pdf.cell(200, 10, txt=f"Your MBTI Type (AI Prediction): {mbti_type_llm}", ln=True)
|
100 |
|
101 |
# Save PDF
|
102 |
-
file_path = f"{participant_name}_MBTI_report.pdf"
|
103 |
pdf.output(file_path)
|
104 |
return file_path
|
105 |
|
|
|
99 |
pdf.cell(200, 10, txt=f"Your MBTI Type (AI Prediction): {mbti_type_llm}", ln=True)
|
100 |
|
101 |
# Save PDF
|
102 |
+
file_path = f"{participant_name}_MBTI_report.pdf" # Save in the current directory
|
103 |
pdf.output(file_path)
|
104 |
return file_path
|
105 |
|