bhulston commited on
Commit
307f1d8
1 Parent(s): f1f5847

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -2
app.py CHANGED
@@ -4,5 +4,14 @@ from PIL import Image
4
 
5
  st.title("USC GPT - Find the perfect class")
6
 
7
- time_options = [f"{hour:02d}:{minute:02d}" for hour in range(24) for minute in range(0, 60, 10)]
8
- selected_time = st.slider("Select a time", options=time_options, format_func=lambda x: x)
 
 
 
 
 
 
 
 
 
 
4
 
5
  st.title("USC GPT - Find the perfect class")
6
 
7
+ class_time = st.slider(
8
+ "Filter Class Times:",
9
+ value=(time(11, 30), time(12, 45)))
10
+
11
+ # st.write("You're scheduled for:", class_time)
12
+
13
+ units = st.slider(
14
+ "Number of units",
15
+ 1, 4,
16
+ value = (1, 4)
17
+ )