Hugo Garcia-Cotte commited on
Commit
61ecf8c
1 Parent(s): 51c57b0

banging my head on Streamlit

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -26,7 +26,9 @@ while True:
26
  st.session_state['messages'].append("Tick.")
27
  line = child.readline()
28
  st.session_state['messages'].append(line)
29
- if ">>>>>" in line: child.sendline("Hello")
 
 
30
 
31
 
32
 
 
26
  st.session_state['messages'].append("Tick.")
27
  line = child.readline()
28
  st.session_state['messages'].append(line)
29
+ if ">>>>>" in line:
30
+ user_input = st.text_input("Enter your message here:")
31
+ if user_input : child.sendline(user_input)
32
 
33
 
34