dipta007 commited on
Commit
7c85284
1 Parent(s): e621133

updated ui

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -48,17 +48,18 @@ def share():
48
  st.success(f"Share URL: {url}")
49
 
50
  with st.sidebar:
51
- if st.button("Share"):
52
  share()
53
 
54
  cols = st.columns(2)
55
  with cols[0]:
56
- if st.button("Undo"):
57
- undo()
58
- with cols[1]:
59
- if st.button("Restart"):
60
  st.session_state.messages = []
61
  clear_uploader()
 
 
 
 
62
 
63
  with st.expander("Advanced Configuration"):
64
  st.subheader("Temperature")
 
48
  st.success(f"Share URL: {url}")
49
 
50
  with st.sidebar:
51
+ if st.button("Share", use_container_width=True):
52
  share()
53
 
54
  cols = st.columns(2)
55
  with cols[0]:
56
+ if st.button("Restart", type="primary", use_container_width=True):
 
 
 
57
  st.session_state.messages = []
58
  clear_uploader()
59
+
60
+ with cols[1]:
61
+ if st.button("Undo", use_container_width=True):
62
+ undo()
63
 
64
  with st.expander("Advanced Configuration"):
65
  st.subheader("Temperature")