vishalkatheriya18 commited on
Commit
1733415
·
verified ·
1 Parent(s): 32a43d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -12
app.py CHANGED
@@ -19,20 +19,18 @@ def response_generator():
19
 
20
  st.title("Simple chat")
21
 
22
- with st.sidebar:
23
- with st.echo():
24
- st.write("This code will be printed to the sidebar.")
25
 
26
- option = st.sidebar.selectbox(
27
- "How would you like to be contacted?",
28
- ("Email", "Home phone", "Mobile phone"),
29
- )
30
-
31
- st.sidebar.write("You selected:", option)
32
 
33
- with st.spinner("Loading..."):
34
- time.sleep(5)
35
- st.success("Done!")
 
 
 
 
 
 
 
36
 
37
  # Initialize chat history
38
  if "messages" not in st.session_state:
 
19
 
20
  st.title("Simple chat")
21
 
 
 
 
22
 
 
 
 
 
 
 
23
 
24
+ option = st.sidebar.selectbox(
25
+ "How would you like to be contacted?",
26
+ ("Email", "Home phone", "Mobile phone"),
27
+ )
28
+
29
+ st.sidebar.write("You selected:", option)
30
+
31
+ st.sidebar.spinner("Loading..."):
32
+ time.sleep(5)
33
+ st.sidebar.success("Done!")
34
 
35
  # Initialize chat history
36
  if "messages" not in st.session_state: