bhulston commited on
Commit
df1d046
1 Parent(s): 63454a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import streamlit as st
2
  from transformers import pipeline
3
  from PIL import Image
4
- from datetime import time
 
5
 
6
  if "messages" not in st.session_state:
7
  st.session_state.messages = []
@@ -11,7 +12,7 @@ st.title("USC GPT - Find the perfect class")
11
 
12
  class_time = st.slider(
13
  "Filter Class Times:",
14
- value=(time(11, 30), time(12, 45)))
15
 
16
  # st.write("You're scheduled for:", class_time)
17
 
 
1
  import streamlit as st
2
  from transformers import pipeline
3
  from PIL import Image
4
+ from datetime import time as t
5
+ import time
6
 
7
  if "messages" not in st.session_state:
8
  st.session_state.messages = []
 
12
 
13
  class_time = st.slider(
14
  "Filter Class Times:",
15
+ value=(t(11, 30), t(12, 45)))
16
 
17
  # st.write("You're scheduled for:", class_time)
18