Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
|
|
2 |
import requests
|
3 |
|
4 |
st.set_page_config(
|
5 |
-
page_title="
|
6 |
page_icon="🧮",
|
7 |
layout="wide",
|
8 |
initial_sidebar_state="collapsed"
|
@@ -43,7 +43,7 @@ st.markdown("""
|
|
43 |
</style>
|
44 |
""", unsafe_allow_html=True)
|
45 |
|
46 |
-
st.title("
|
47 |
st.markdown("""
|
48 |
<p style='font-size: 1.2rem; margin-bottom: 2rem;'>
|
49 |
Advanced Mathematical Computation & Problem Solving
|
@@ -80,7 +80,7 @@ with main_container:
|
|
80 |
with st.spinner("Computing solution..."):
|
81 |
mode_num = int(mode.split("Mode ")[1])
|
82 |
|
83 |
-
url = "https://
|
84 |
headers = {'Content-Type': 'application/json'}
|
85 |
data = {"query": query, "mode": mode_num}
|
86 |
|
@@ -106,9 +106,9 @@ with main_container:
|
|
106 |
st.error(f"⚠️ An unexpected error occurred: {str(e)}")
|
107 |
|
108 |
with right_col:
|
109 |
-
with st.expander("About
|
110 |
st.markdown("""
|
111 |
-
|
112 |
to solve complex mathematical problems.
|
113 |
|
114 |
Developed by Ruben Roy, 2025.
|
@@ -116,7 +116,7 @@ with main_container:
|
|
116 |
|
117 |
with st.expander("Computation Modes", expanded=True):
|
118 |
st.markdown("""
|
119 |
-
|
120 |
""")
|
121 |
|
122 |
with st.expander("How to Use", expanded=True):
|
|
|
2 |
import requests
|
3 |
|
4 |
st.set_page_config(
|
5 |
+
page_title="Seneca Engine | Mathematical Computation",
|
6 |
page_icon="🧮",
|
7 |
layout="wide",
|
8 |
initial_sidebar_state="collapsed"
|
|
|
43 |
</style>
|
44 |
""", unsafe_allow_html=True)
|
45 |
|
46 |
+
st.title("Seneca Computational Engine")
|
47 |
st.markdown("""
|
48 |
<p style='font-size: 1.2rem; margin-bottom: 2rem;'>
|
49 |
Advanced Mathematical Computation & Problem Solving
|
|
|
80 |
with st.spinner("Computing solution..."):
|
81 |
mode_num = int(mode.split("Mode ")[1])
|
82 |
|
83 |
+
url = "https://seneca.ruben-roy.com/v1/process"
|
84 |
headers = {'Content-Type': 'application/json'}
|
85 |
data = {"query": query, "mode": mode_num}
|
86 |
|
|
|
106 |
st.error(f"⚠️ An unexpected error occurred: {str(e)}")
|
107 |
|
108 |
with right_col:
|
109 |
+
with st.expander("About Seneca Engine", expanded=True):
|
110 |
st.markdown("""
|
111 |
+
Seneca is a mathematical computation engine designed
|
112 |
to solve complex mathematical problems.
|
113 |
|
114 |
Developed by Ruben Roy, 2025.
|
|
|
116 |
|
117 |
with st.expander("Computation Modes", expanded=True):
|
118 |
st.markdown("""
|
119 |
+
Seneca has 2 computational modes, they perform differently depending on what you want to do with it. If you get an unexpected or disappointing output from a specific mode, try switching to the other mode.
|
120 |
""")
|
121 |
|
122 |
with st.expander("How to Use", expanded=True):
|