mohammad2928git commited on
Commit
5b7b291
·
verified ·
1 Parent(s): 8ad917a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -34,14 +34,14 @@ def main():
34
 
35
 
36
  if st.sidebar.button("Select LLM"):
37
- time.sleep(5)
38
  with st.spinner("Loading model..."):
39
- predictor = load_predictor(
40
- det_arch, reco_arch, assume_straight_pages, straighten_pages, bin_thresh, forward_device
41
- )
42
 
43
  st.markdown("# LLM Notebook")
44
- text = st.text_area('Prompt:', prompt, placeholder='Please, type your question and submit. ')
 
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)