Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -550,9 +550,9 @@ def analyze_pdf(body: ProblemInput):
|
|
| 550 |
try:
|
| 551 |
analysis = run_pipeline(
|
| 552 |
content=content,
|
| 553 |
-
name=body.
|
| 554 |
-
role=body.
|
| 555 |
-
goal=body.
|
| 556 |
)
|
| 557 |
pdf_bytes = build_pdf(
|
| 558 |
analysis,
|
|
|
|
| 550 |
try:
|
| 551 |
analysis = run_pipeline(
|
| 552 |
content=content,
|
| 553 |
+
name=body.user_name or "Anonymous",
|
| 554 |
+
role=body.user_role or "",
|
| 555 |
+
goal=body.user_goal or "",
|
| 556 |
)
|
| 557 |
pdf_bytes = build_pdf(
|
| 558 |
analysis,
|