Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import random
|
| 2 |
from collections import Counter
|
| 3 |
import streamlit as st
|
|
|
|
| 4 |
import streamlit.components.v1 as components
|
| 5 |
|
| 6 |
# Function to read survey links from a file
|
|
@@ -33,8 +34,6 @@ def update_link_counts(link, link_counts):
|
|
| 33 |
link_counts[link] += 1
|
| 34 |
|
| 35 |
|
| 36 |
-
st.title("Survey Assignment")
|
| 37 |
-
|
| 38 |
survey = st.button("Start Survey")
|
| 39 |
if survey:
|
| 40 |
# Initialize link usage counts (dictionary)
|
|
|
|
| 1 |
import random
|
| 2 |
from collections import Counter
|
| 3 |
import streamlit as st
|
| 4 |
+
st.set_page_config(page_title="Survey Assignment", page_icon=None, layout="wide", initial_sidebar_state="auto", menu_items=None)
|
| 5 |
import streamlit.components.v1 as components
|
| 6 |
|
| 7 |
# Function to read survey links from a file
|
|
|
|
| 34 |
link_counts[link] += 1
|
| 35 |
|
| 36 |
|
|
|
|
|
|
|
| 37 |
survey = st.button("Start Survey")
|
| 38 |
if survey:
|
| 39 |
# Initialize link usage counts (dictionary)
|