Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1263,10 +1263,10 @@ def main():
|
|
| 1263 |
st.markdown('<div class="content-section">', unsafe_allow_html=True)
|
| 1264 |
st.markdown('<h2 class="section-title">Advanced Summarization Engine</h2>', unsafe_allow_html=True)
|
| 1265 |
|
| 1266 |
-
# Layout:
|
| 1267 |
-
|
| 1268 |
|
| 1269 |
-
with
|
| 1270 |
st.markdown("""
|
| 1271 |
<div class="cyber-card">
|
| 1272 |
<h4 class="cyber-text">Parameters</h4>
|
|
@@ -1292,7 +1292,7 @@ def main():
|
|
| 1292 |
|
| 1293 |
length = st.slider("Length:", 2, 15, 8, key="quantum_length")
|
| 1294 |
|
| 1295 |
-
with
|
| 1296 |
if st.button("Generate Summary", key="quantum_summary_btn"):
|
| 1297 |
with st.spinner("Generating summary..."):
|
| 1298 |
result = st.session_state.quantum_summarizer.quantum_summarize(
|
|
|
|
| 1263 |
st.markdown('<div class="content-section">', unsafe_allow_html=True)
|
| 1264 |
st.markdown('<h2 class="section-title">Advanced Summarization Engine</h2>', unsafe_allow_html=True)
|
| 1265 |
|
| 1266 |
+
# Layout: parameters left (stack first on mobile), content right
|
| 1267 |
+
col_params, col_content = st.columns([1, 2])
|
| 1268 |
|
| 1269 |
+
with col_params:
|
| 1270 |
st.markdown("""
|
| 1271 |
<div class="cyber-card">
|
| 1272 |
<h4 class="cyber-text">Parameters</h4>
|
|
|
|
| 1292 |
|
| 1293 |
length = st.slider("Length:", 2, 15, 8, key="quantum_length")
|
| 1294 |
|
| 1295 |
+
with col_content:
|
| 1296 |
if st.button("Generate Summary", key="quantum_summary_btn"):
|
| 1297 |
with st.spinner("Generating summary..."):
|
| 1298 |
result = st.session_state.quantum_summarizer.quantum_summarize(
|