File size: 312 Bytes
c8a0f34
 
 
 
54c11e5
 
f1f5847
 
1
2
3
4
5
6
7
8
import streamlit as st
from transformers import pipeline
from PIL import Image

st.title("USC GPT - Find the perfect class")

time_options = [f"{hour:02d}:{minute:02d}" for hour in range(24) for minute in range(0, 60, 10)]
selected_time = st.slider("Select a time", options=time_options, format_func=lambda x: x)