ivan-savchuk commited on
Commit
14befa6
β€’
1 Parent(s): 15936af

Update app.py

Browse files

input constraint added

Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -76,7 +76,8 @@ if __name__ == "__main__":
76
  with st.form("my_form"):
77
  # here we have input space
78
  query = st.text_input("Enter query about our Medical Data",
79
- placeholder="Type query here...")
 
80
  # Every form must have a submit button.
81
  submitted = st.form_submit_button("Search")
82
 
 
76
  with st.form("my_form"):
77
  # here we have input space
78
  query = st.text_input("Enter query about our Medical Data",
79
+ placeholder="Type query here...",
80
+ max_chars=200)
81
  # Every form must have a submit button.
82
  submitted = st.form_submit_button("Search")
83