Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,6 +65,7 @@ def print_output(input):
|
|
| 65 |
|
| 66 |
s = '\n'.join(dom_names)
|
| 67 |
|
|
|
|
| 68 |
return s
|
| 69 |
|
| 70 |
|
|
@@ -77,7 +78,7 @@ user_input = st.text_input("Type something here:")
|
|
| 77 |
# Button to submit input
|
| 78 |
if st.button("Submit"):
|
| 79 |
# Reprint the user input
|
| 80 |
-
st.write(
|
| 81 |
|
| 82 |
|
| 83 |
# def print_output(input):
|
|
|
|
| 65 |
|
| 66 |
s = '\n'.join(dom_names)
|
| 67 |
|
| 68 |
+
print(s)
|
| 69 |
return s
|
| 70 |
|
| 71 |
|
|
|
|
| 78 |
# Button to submit input
|
| 79 |
if st.button("Submit"):
|
| 80 |
# Reprint the user input
|
| 81 |
+
st.write(print_output(user_input))
|
| 82 |
|
| 83 |
|
| 84 |
# def print_output(input):
|