Junaidb commited on
Commit
6acf4f9
·
verified ·
1 Parent(s): f57bc74

Update ui.py

Browse files
Files changed (1) hide show
  1. ui.py +7 -13
ui.py CHANGED
@@ -67,24 +67,18 @@ def APP():
67
 
68
 
69
 
70
- uid=None
71
- project_name=None
72
 
73
- @st.dialog("set Username and Projectname")
74
- def setup():
 
 
 
75
  uid=st.text_input("enter username")
76
  project_name=st.text_input("enter project name ")
77
 
78
- st.markdown(":material/settings:")
79
- if st.button("setup"):
80
- setup()
81
-
82
-
83
 
84
- with st.form("bio",border=False):
85
-
86
-
87
-
88
 
89
  if not uid or not project_name:
90
  st.markdown(":orange-badge[⚠️ Set Username and Projectname]")
 
67
 
68
 
69
 
70
+
71
+ with st.form("bio",border=False):
72
 
73
+
74
+ uid=None
75
+ project_name=None
76
+
77
+ st.markdown(":material/settings:")
78
  uid=st.text_input("enter username")
79
  project_name=st.text_input("enter project name ")
80
 
 
 
 
 
 
81
 
 
 
 
 
82
 
83
  if not uid or not project_name:
84
  st.markdown(":orange-badge[⚠️ Set Username and Projectname]")