Mudditha commited on
Commit
d7e2e90
·
verified ·
1 Parent(s): c9bd7b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -69,8 +69,8 @@ def print_output(input):
69
  if name != '':
70
  dom_names.append(name.split('.')[1])
71
 
72
- s = '\n'.join(dom_names)
73
- return s
74
 
75
 
76
  # Streamlit app UI
@@ -82,7 +82,8 @@ user_input = st.text_input("Type your idea here:")
82
  # Button to submit input
83
  if st.button("Submit"):
84
  # Reprint the user input
85
- st.write(print_output(user_input))
 
86
 
87
 
88
  # def print_output(input):
 
69
  if name != '':
70
  dom_names.append(name.split('.')[1])
71
 
72
+ # s = '\n'.join(dom_names)
73
+ return dom_names
74
 
75
 
76
  # Streamlit app UI
 
82
  # Button to submit input
83
  if st.button("Submit"):
84
  # Reprint the user input
85
+ for item in print_output(user_input):
86
+ st.write(item)
87
 
88
 
89
  # def print_output(input):