amithdoreswamy commited on
Commit
31ba3c8
·
verified ·
1 Parent(s): c7416c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -30,7 +30,7 @@ st.header("Provide a function to optimise")
30
 
31
  #Gets the user input
32
  def get_text():
33
- input_text = st.text_input("You: ", key="input")
34
  return input_text
35
 
36
 
@@ -44,5 +44,8 @@ if submit:
44
 
45
  st.subheader("Answer:")
46
 
47
- st.write(response)
 
 
 
48
 
 
30
 
31
  #Gets the user input
32
  def get_text():
33
+ input_text = st.text_area("You: ", key="input")
34
  return input_text
35
 
36
 
 
44
 
45
  st.subheader("Answer:")
46
 
47
+ textsplit = response.splitlines()
48
+
49
+ for x in textsplit:
50
+ st.write(textsplit)
51