Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -175,26 +175,7 @@ if st.session_state.framework == "gen":
|
|
| 175 |
main_bg = "picturebg.png"
|
| 176 |
|
| 177 |
|
| 178 |
-
|
| 179 |
-
bg_color = "#FF5733" # For example, a warm red/orange
|
| 180 |
-
bg_color_iv = "orange" # For example, a warm red/orange
|
| 181 |
-
text_h1 = "BI-DIRECTIONAL"
|
| 182 |
-
text_i = "Long short term memory"
|
| 183 |
-
model = "TENSORFLOW"
|
| 184 |
-
st.session_state.model = "best_bilstm_model.h5"
|
| 185 |
-
if st.session_state.framework == "gru":
|
| 186 |
-
bg_color = "#FF5733" # For example, a warm red/orange
|
| 187 |
-
bg_color_iv = "orange" # For example, a warm red/orange
|
| 188 |
-
text_h1 = "GATED RECURRENT UNIT"
|
| 189 |
-
text_i = "Recurrent Neural Network"
|
| 190 |
-
model = "TENSORFLOW"
|
| 191 |
-
st.session_state.model = "best_gru_model.h5"
|
| 192 |
-
if st.session_state.framework == "gen":
|
| 193 |
-
bg_color = "#FF5733" # For example, a warm red/orange
|
| 194 |
-
bg_color_iv = "orange" # For example, a warm red/orange
|
| 195 |
-
text_h1 = "Amazon Stock Predictor"
|
| 196 |
-
text_i = "21 Days Ahead of the Market"
|
| 197 |
-
model = "TENSORFLOW"
|
| 198 |
st.markdown(
|
| 199 |
f"""
|
| 200 |
<style>
|
|
@@ -1499,6 +1480,7 @@ if st.session_state.framework == "dash":
|
|
| 1499 |
if st.button(f"🗂 {truncated_preview}", key=val):
|
| 1500 |
load_chat_history(chat_id)
|
| 1501 |
st.session_state.show_overlay = False
|
|
|
|
| 1502 |
|
| 1503 |
|
| 1504 |
with col2:
|
|
|
|
| 175 |
main_bg = "picturebg.png"
|
| 176 |
|
| 177 |
|
| 178 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 179 |
st.markdown(
|
| 180 |
f"""
|
| 181 |
<style>
|
|
|
|
| 1480 |
if st.button(f"🗂 {truncated_preview}", key=val):
|
| 1481 |
load_chat_history(chat_id)
|
| 1482 |
st.session_state.show_overlay = False
|
| 1483 |
+
st.rerun()
|
| 1484 |
|
| 1485 |
|
| 1486 |
with col2:
|