Spaces:
Sleeping
Sleeping
Update tools/ai_act_generator.py
Browse files
tools/ai_act_generator.py
CHANGED
|
@@ -122,7 +122,7 @@ Generated by AI Act Assistant.
|
|
| 122 |
|
| 123 |
pdf_path = export_text_to_pdf(filled_template, language=detected_lang)
|
| 124 |
return f"""{flag} Language detected: {detected_lang.upper()}
|
| 125 |
-
✅ All answers received. Download your AI Act compliance PDF
|
| 126 |
|
| 127 |
# === UI for Step-by-Step Form ===
|
| 128 |
def launch_step_by_step_ui():
|
|
|
|
| 122 |
|
| 123 |
pdf_path = export_text_to_pdf(filled_template, language=detected_lang)
|
| 124 |
return f"""{flag} Language detected: {detected_lang.upper()}
|
| 125 |
+
✅ All answers received. [Download your AI Act compliance PDF here]({pdf_path})""", {"done": True, "pdf": pdf_path}, pdf_path
|
| 126 |
|
| 127 |
# === UI for Step-by-Step Form ===
|
| 128 |
def launch_step_by_step_ui():
|