Spaces:
Running
Running
tryout no plot
Browse files
streamlit_simulation/app.py
CHANGED
@@ -309,7 +309,7 @@ col1, col2 = st.columns([1, 1])
|
|
309 |
with col1:
|
310 |
st.markdown("**General Settings**")
|
311 |
model_choice = st.selectbox("Choose prediction model", ["LightGBM", "Transformer Model (moments)"])
|
312 |
-
if model_choice == "Transformer Model(moments)":
|
313 |
st.caption("⚠️ Note: Transformer model runs slower without GPU. (Use Speed = 10)")
|
314 |
window_days = st.selectbox("Display window (days)", options=[3, 5, 7], index=0)
|
315 |
window_hours = window_days * 24
|
|
|
309 |
with col1:
|
310 |
st.markdown("**General Settings**")
|
311 |
model_choice = st.selectbox("Choose prediction model", ["LightGBM", "Transformer Model (moments)"])
|
312 |
+
if model_choice == "Transformer Model (moments)":
|
313 |
st.caption("⚠️ Note: Transformer model runs slower without GPU. (Use Speed = 10)")
|
314 |
window_days = st.selectbox("Display window (days)", options=[3, 5, 7], index=0)
|
315 |
window_hours = window_days * 24
|