Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,14 +34,14 @@ def main():
|
|
| 34 |
|
| 35 |
|
| 36 |
if st.sidebar.button("Select LLM"):
|
| 37 |
-
|
| 38 |
with st.spinner("Loading model..."):
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
)
|
| 42 |
|
| 43 |
st.markdown("# LLM Notebook")
|
| 44 |
-
text = st.text_area('Prompt:',
|
|
|
|
| 45 |
submitted = st.form_submit_button('Submit')
|
| 46 |
if submitted:
|
| 47 |
time.sleep(4)
|
|
|
|
| 34 |
|
| 35 |
|
| 36 |
if st.sidebar.button("Select LLM"):
|
| 37 |
+
|
| 38 |
with st.spinner("Loading model..."):
|
| 39 |
+
time.sleep(5)
|
| 40 |
+
# load the model TODO
|
|
|
|
| 41 |
|
| 42 |
st.markdown("# LLM Notebook")
|
| 43 |
+
text = st.text_area('Prompt:', placeholder='Please, type your question and submit. ')
|
| 44 |
+
print("tetx", text)
|
| 45 |
submitted = st.form_submit_button('Submit')
|
| 46 |
if submitted:
|
| 47 |
time.sleep(4)
|