mohammad2928git commited on
Commit
3e4f779
·
verified ·
1 Parent(s): 5b7b291

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -38,17 +38,17 @@ def main():
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)
48
- with st.spinner("Analyzing..."):
49
- st.sidebar.markdown(f" * you are here")
50
-
51
-
52
 
53
  if __name__ == "__main__":
54
  main()
 
38
  with st.spinner("Loading model..."):
39
  time.sleep(5)
40
  # load the model TODO
41
+
42
  st.markdown("# LLM Notebook")
43
+ with st.form('my_form'):
44
+ text = st.text_area('Prompt:', placeholder='Please, type your question and submit. ')
45
+ print("tetx", text)
46
+ submitted = st.form_submit_button('Submit')
47
+ if submitted:
48
+ with st.spinner("Analyzing..."):
49
+ time.sleep(4)
50
+ st.subheader("You predd submit", anchor=None, *, help=None, divider=False)
51
+
52
 
53
  if __name__ == "__main__":
54
  main()