Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -195,8 +195,8 @@ def save_profile(file, *inputs):
|
|
195 |
with open("student_summary.md", "w") as f:
|
196 |
f.write(summary["Learning_Plan"] + '\n' + summary["Style_Summary"] + '\n' + summary["Motivation"])
|
197 |
|
198 |
-
return f"β
Profile saved! Your learning style is: {learning_type}"
|
199 |
-
|
200 |
except Exception as e:
|
201 |
return f"β Error: {str(e)}"
|
202 |
|
|
|
195 |
with open("student_summary.md", "w") as f:
|
196 |
f.write(summary["Learning_Plan"] + '\n' + summary["Style_Summary"] + '\n' + summary["Motivation"])
|
197 |
|
198 |
+
return f"β
Profile saved! Your learning style is: {learning_type}", gr.update(clear=True)
|
199 |
+
|
200 |
except Exception as e:
|
201 |
return f"β Error: {str(e)}"
|
202 |
|