Spaces:
Sleeping
Sleeping
Commit
·
90b66df
1
Parent(s):
6699e04
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,10 +59,12 @@ st.title('Discover the best model for your GenAI App')
|
|
| 59 |
st.write("")
|
| 60 |
|
| 61 |
st.markdown("<h4 style='font-size:20px;'>Outline Your Application's Functionality:</h4>", unsafe_allow_html=True)
|
| 62 |
-
description = st.text_area("", key="app_description"
|
| 63 |
|
| 64 |
-
|
|
|
|
| 65 |
if st.button("Next", key="next_to_dataset"):
|
|
|
|
| 66 |
st.session_state.show_dataset_description = True
|
| 67 |
|
| 68 |
|
|
|
|
| 59 |
st.write("")
|
| 60 |
|
| 61 |
st.markdown("<h4 style='font-size:20px;'>Outline Your Application's Functionality:</h4>", unsafe_allow_html=True)
|
| 62 |
+
description = st.text_area("", key="app_description")
|
| 63 |
|
| 64 |
+
# Using a placeholder for the "Next" button to always display it
|
| 65 |
+
if description or 'next_clicked' in st.session_state:
|
| 66 |
if st.button("Next", key="next_to_dataset"):
|
| 67 |
+
st.session_state['next_clicked'] = True
|
| 68 |
st.session_state.show_dataset_description = True
|
| 69 |
|
| 70 |
|