Spaces:
Sleeping
Sleeping
Update Gradio_UI.py
Browse files- Gradio_UI.py +1 -0
Gradio_UI.py
CHANGED
|
@@ -126,6 +126,7 @@ import datetime
|
|
| 126 |
# === UI for Step-by-Step Form ===
|
| 127 |
def launch_step_by_step_ui():
|
| 128 |
with gr.Blocks(fill_height=True) as demo:
|
|
|
|
| 129 |
initial_message = gr.ChatMessage(role="assistant", content=(
|
| 130 |
"👋 Welcome! I will guide you through the AI Act compliance form.\n"
|
| 131 |
"Let's begin with a few questions to generate your compliance register.\n"
|
|
|
|
| 126 |
# === UI for Step-by-Step Form ===
|
| 127 |
def launch_step_by_step_ui():
|
| 128 |
with gr.Blocks(fill_height=True) as demo:
|
| 129 |
+
csv_download = gr.File(value="ai_act_registers.csv", label="📥 Download All Registers (.csv)", visible=os.path.exists("ai_act_registers.csv"))
|
| 130 |
initial_message = gr.ChatMessage(role="assistant", content=(
|
| 131 |
"👋 Welcome! I will guide you through the AI Act compliance form.\n"
|
| 132 |
"Let's begin with a few questions to generate your compliance register.\n"
|