generated from streamlit/chatbot-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstreamlit_app.py
41 lines (26 loc) · 979 Bytes
/
streamlit_app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
"""Welcome page for the EU-AI Act Analysis Tool."""
from __future__ import annotations
import sys
import streamlit as st
if sys.platform == "win32":
import asyncio
from asyncio import WindowsSelectorEventLoopPolicy
asyncio.set_event_loop_policy(WindowsSelectorEventLoopPolicy())
def main() -> None:
"""Render the welcome page."""
st.title("🤖 EU-AI Act Analyse Tool")
st.markdown("""
## Willkommen!
Dieses Tool hilft Ihnen dabei, Informationen im Kontext des EU-AI Acts zu
analysieren und zu strukturieren.
### Workflow:
1. **Schritt 1**: Erfassen Sie die relevanten Informationen in einem
strukturierten Format
2. **Schritt 2**: Erhalten Sie eine detaillierte Analyse und können im Dialog
weitere Fragen klären
Klicken Sie auf 'Start', um zu beginnen.
""")
if st.button("Start", use_container_width=True):
st.switch_page("pages/step1.py")
if __name__ == "__main__":
main()