Spaces:
Sleeping
Sleeping
Update Gradio_UI.py
Browse files- Gradio_UI.py +5 -9
Gradio_UI.py
CHANGED
|
@@ -128,16 +128,12 @@ def launch_step_by_step_ui():
|
|
| 128 |
with gr.Blocks(fill_height=True) as demo:
|
| 129 |
initial_question = QUESTIONS[0][1]
|
| 130 |
initial_message = gr.ChatMessage(role="assistant", content=(
|
| 131 |
-
"👋 Welcome! I will guide you through the AI Act compliance form.
|
| 132 |
"
|
| 133 |
-
"
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
" + QUESTIONS[0][1]
|
| 138 |
-
}
|
| 139 |
-
]
|
| 140 |
-
}"
|
| 141 |
))
|
| 142 |
stored_messages = gr.State([initial_message])
|
| 143 |
chatbot = gr.Chatbot(type="messages", value=stored_messages)
|
|
|
|
| 128 |
with gr.Blocks(fill_height=True) as demo:
|
| 129 |
initial_question = QUESTIONS[0][1]
|
| 130 |
initial_message = gr.ChatMessage(role="assistant", content=(
|
| 131 |
+
f"👋 Welcome! I will guide you through the AI Act compliance form.
|
| 132 |
"
|
| 133 |
+
f"Let's begin with a few questions to generate your compliance register.
|
| 134 |
+
|
| 135 |
+
"
|
| 136 |
+
f"{initial_question}"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 137 |
))
|
| 138 |
stored_messages = gr.State([initial_message])
|
| 139 |
chatbot = gr.Chatbot(type="messages", value=stored_messages)
|