forked from Kasneci-Lab/AI-assisted-writing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.py
44 lines (42 loc) · 1.3 KB
/
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
42
43
44
import streamlit as st
st.set_page_config(layout="wide")
# from aaw.mysession import session
# from aaw.pages import (homepage, upload_image, feedback, input_text, input_type, modify_text, privacy, imprint, PAGES)
# from aaw.utils import create_dataset
#
# # Create dataset folder
# create_dataset()
#
# # Set up session variables for page navigation and data storage
# session.update('page_map', dict(
# home=homepage,
# upload_image=upload_image,
# feedback=feedback,
# input_text=input_text,
# input_type=input_type,
# modify_text=modify_text,
# privacy=privacy,
# imprint=imprint,
# ))
#
# # Initialize session variables with default values
# # These variables will only be initialized when a new session starts (e.g., when the user refreshes the page)
# session.init('page_widgets', dict())
# session.init('current_page', "home")
# session.init('feedback', None)
# session.init('title', None)
# session.init("user_args", dict())
# session.init("input_type", None)
# session.init("new_feedback", True)
#
#
# # Perform post-processing for each page in PAGES
#
# for page in PAGES:
# page.__post_process__(session)
#
# # Render the current page
# session.render()
url = "https://peer.edu.sot.tum.de/"
st.title("👋 Wir sind umgezogen!")
st.header("PEER läuft jetzt unter " + url + "! :)")