Rauhan commited on
Commit
cbb7483
·
1 Parent(s): 3cfe699

UPDATE: main.py

Browse files
Files changed (1) hide show
  1. main.py +7 -29
main.py CHANGED
@@ -46,16 +46,6 @@ st.markdown("""
46
  margin-top: 2rem;
47
  }
48
 
49
- .status-container {
50
- background: rgba(255, 255, 255, 0.7);
51
- backdrop-filter: blur(10px);
52
- border: 1px solid #E3EAF2;
53
- box-shadow: 0px 4px 12px rgba(0,0,0,0.05);
54
- border-radius: 10px;
55
- padding: 1.2rem 1.5rem;
56
- margin: 1.5rem 0;
57
- }
58
-
59
  .stDownloadButton > button {
60
  background-color: #0A66C2;
61
  color: white;
@@ -140,23 +130,13 @@ with st.sidebar:
140
  st.write(f"**{key}**: {value}")
141
 
142
  st.markdown("---")
143
- st.markdown("#### ⚙️ Powered By")
144
-
145
- col1, col2 = st.columns([1, 5])
146
- with col1:
147
- st.image(
148
- "https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd48eab78-962e-4b5e-a37d-31edf758fdb1_992x404.png",
149
- width=45
150
- )
151
-
152
- with col2:
153
- st.markdown("""
154
- <div style='font-size: 0.9rem; line-height: 1.4;'>
155
- Inference by <strong>Groq</strong><br>
156
- using Meta’s <strong>LLaMA 4 MOE Maverick</strong><br>
157
- for blazing-fast, high-precision summaries.
158
- </div>
159
- """, unsafe_allow_html=True)
160
 
161
 
162
  # Main content
@@ -168,7 +148,6 @@ if uploadedFile:
168
  summaryContainer = st.empty()
169
 
170
  with statusContainer.container():
171
- st.markdown("<div class='status-container'>", unsafe_allow_html=True)
172
  st.markdown("### ⏳ Processing Status")
173
  statusBox = st.empty()
174
 
@@ -185,7 +164,6 @@ if uploadedFile:
185
 
186
  if summary:
187
  statusBox.success(f"✅ Summary generated successfully (Total time: {totalTime:.2f}s)")
188
- st.markdown("</div>", unsafe_allow_html=True)
189
 
190
  with summaryContainer.container():
191
  st.markdown("<h2 class='summary-header'>📊 Generated Summary</h2>", unsafe_allow_html=True)
 
46
  margin-top: 2rem;
47
  }
48
 
 
 
 
 
 
 
 
 
 
 
49
  .stDownloadButton > button {
50
  background-color: #0A66C2;
51
  color: white;
 
130
  st.write(f"**{key}**: {value}")
131
 
132
  st.markdown("---")
133
+ st.markdown("""
134
+ <div style='font-size: 0.9rem; line-height: 1.4;'>
135
+ Inference by <strong>Groq</strong><br>
136
+ using Meta's <strong>LLaMA 4 MOE Maverick</strong><br>
137
+ for blazing-fast, high-precision summaries.
138
+ </div>
139
+ """, unsafe_allow_html=True)
 
 
 
 
 
 
 
 
 
 
140
 
141
 
142
  # Main content
 
148
  summaryContainer = st.empty()
149
 
150
  with statusContainer.container():
 
151
  st.markdown("### ⏳ Processing Status")
152
  statusBox = st.empty()
153
 
 
164
 
165
  if summary:
166
  statusBox.success(f"✅ Summary generated successfully (Total time: {totalTime:.2f}s)")
 
167
 
168
  with summaryContainer.container():
169
  st.markdown("<h2 class='summary-header'>📊 Generated Summary</h2>", unsafe_allow_html=True)