abanm commited on
Commit
8b91edf
·
verified ·
1 Parent(s): df4c020

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -58,21 +58,12 @@ def call_api(message):
58
  except requests.exceptions.RequestException as e:
59
  return f"Error: {str(e)}"
60
 
61
- # Streamlit Configurations (must come first)
62
- st.set_page_config(page_title="💬 DUBSChat", layout="centered")
63
-
64
- # Sidebar Configuration
65
- with st.sidebar:
66
- st.markdown("### DUBS Settings")
67
- st.markdown("""Other Features.""")
68
- st.markdown("""Comming Soon!""")
69
-
70
  # Chat History Initialization
71
  if "messages" not in st.session_state:
72
  st.session_state["messages"] = [{"role": "assistant", "content": "Hello! How can I assist you today?"}]
73
 
74
  # Main Chat UI
75
- st.title("DUBS v.0.0.3")
76
  st.markdown("Empowering you with a Sustainable AI")
77
 
78
  # Chat Display
 
58
  except requests.exceptions.RequestException as e:
59
  return f"Error: {str(e)}"
60
 
 
 
 
 
 
 
 
 
 
61
  # Chat History Initialization
62
  if "messages" not in st.session_state:
63
  st.session_state["messages"] = [{"role": "assistant", "content": "Hello! How can I assist you today?"}]
64
 
65
  # Main Chat UI
66
+ st.title("💬 DUBSChat")
67
  st.markdown("Empowering you with a Sustainable AI")
68
 
69
  # Chat Display