shank commited on
Commit
b391cd8
Β·
1 Parent(s): bec3d00

Polish UI header and update github links

Browse files
Files changed (3) hide show
  1. Blog.md +1 -1
  2. README.md +1 -1
  3. app.py +43 -19
Blog.md CHANGED
@@ -191,4 +191,4 @@ We built this in a hackathon sprint. We think it's worth building further.
191
 
192
  Built by Team Endurance β€” Shashaank Jain & Pranav Pulipati β€” for the Scaler Γ— Meta Γ— PyTorch Hackathon.
193
 
194
- [Live Space](https://huggingface.co/spaces/shashaank0707/AgentDebugger-training-v3) Β· [W&B Run](https://wandb.ai/shashaankjain07-keshav-memorial-college-of-law/AgentDebuggerEnv/runs/vylbqd5m?nw=nwusershashaankjain07) Β· [GitHub: @PulipatiPranav](https://github.com/PulipatiPranav)
 
191
 
192
  Built by Team Endurance β€” Shashaank Jain & Pranav Pulipati β€” for the Scaler Γ— Meta Γ— PyTorch Hackathon.
193
 
194
+ [Live Space](https://huggingface.co/spaces/shashaank0707/AgentDebugger-training-v3) Β· [W&B Run](https://wandb.ai/shashaankjain07-keshav-memorial-college-of-law/AgentDebuggerEnv/runs/vylbqd5m?nw=nwusershashaankjain07) Β· [GitHub: @shasshaank](https://github.com/shasshaank)
README.md CHANGED
@@ -106,4 +106,4 @@ The easiest way to re-run the exact GRPO training pipeline is via our Jupyter No
106
 
107
  ### πŸ‘₯ Team Endurance
108
  * **Shashaank Jain** | GitHub: [@shasshaank](https://github.com/shasshaank) | Email: *[shashaankjain07@gmail.com]*
109
- * **[Pranav Pulipati]** | GitHub: *[@PulipatiPranav](https://github.com/PulipatiPranav)* | Email: *[pranavpulipatix@gmail.com]*
 
106
 
107
  ### πŸ‘₯ Team Endurance
108
  * **Shashaank Jain** | GitHub: [@shasshaank](https://github.com/shasshaank) | Email: *[shashaankjain07@gmail.com]*
109
+ * **Pranav Pulipati** | GitHub: [@shasshaank](https://github.com/shasshaank) | Email: *[pranavpulipatix@gmail.com]*
app.py CHANGED
@@ -143,7 +143,7 @@ MOCK_TRAJECTORIES = {
143
  CUSTOM_CSS = """
144
  body {
145
  background-color: #030712 !important;
146
- background-image: radial-gradient(circle at 50% -20%, #1e1b4b, #030712 60%) !important;
147
  font-family: 'Inter', -apple-system, sans-serif !important;
148
  }
149
 
@@ -154,29 +154,41 @@ body {
154
 
155
  /* Glassmorphism Panels */
156
  .glass-panel {
157
- background: rgba(17, 24, 39, 0.6) !important;
158
  backdrop-filter: blur(16px) !important;
159
  -webkit-backdrop-filter: blur(16px) !important;
160
- border: 1px solid rgba(255, 255, 255, 0.08) !important;
161
  border-radius: 20px !important;
162
  padding: 2rem !important;
163
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5) !important;
164
  }
165
 
166
  .glass-header {
167
- background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1)) !important;
168
  backdrop-filter: blur(16px) !important;
169
  -webkit-backdrop-filter: blur(16px) !important;
170
- border: 1px solid rgba(139, 92, 246, 0.2) !important;
171
  border-radius: 24px !important;
172
  padding: 3rem 2rem !important;
173
  text-align: center;
174
  margin-bottom: 2.5rem;
175
- box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.3) !important;
 
 
 
 
 
 
 
 
 
 
 
 
176
  }
177
 
178
  /* Title styling */
179
- .glass-header h1, .glass-header .prose h1 {
180
  font-family: 'Outfit', sans-serif !important;
181
  font-size: 3.5rem !important;
182
  font-weight: 900 !important;
@@ -188,7 +200,7 @@ body {
188
  margin-bottom: 0.5rem !important;
189
  }
190
 
191
- .glass-header h3, .glass-header .prose h3 {
192
  font-size: 1.25rem !important;
193
  color: #94a3b8 !important;
194
  font-weight: 500 !important;
@@ -196,7 +208,7 @@ body {
196
  margin-bottom: 0.5rem !important;
197
  }
198
 
199
- .glass-header p, .glass-header .prose p {
200
  font-size: 1.05rem !important;
201
  color: #cbd5e1 !important;
202
  font-style: italic !important;
@@ -246,11 +258,22 @@ body {
246
  margin-top: 2rem !important;
247
  }
248
 
 
 
 
 
 
 
 
 
 
 
 
249
  /* Code fonts */
250
  .code-container {
251
  font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
252
- background-color: #080c15 !important;
253
- border: 1px solid rgba(255, 255, 255, 0.05) !important;
254
  border-radius: 12px !important;
255
  }
256
  """
@@ -472,14 +495,15 @@ bug_options = get_trajectory_explorer_dropdowns(eval_data)
472
  with gr.Blocks(title="AgentDebuggerEnv Research Hub") as demo:
473
 
474
  # ── Header ────────────────────────────────────────────────────────────────
475
- with gr.Group(elem_classes=["glass-header"]):
476
- gr.Markdown(
477
- """
478
- # 🐞 AgentDebuggerEnv
479
- ### Interactive Research Showcase & Leaderboard
480
- *Aligning LLMs on Hypothesis-Driven Debugging using GRPO Reinforcement Learning*
481
- """
482
- )
 
483
 
484
  with gr.Tabs():
485
  # ── Tab 1: Trajectory Explorer ────────────────────────────────────────
 
143
  CUSTOM_CSS = """
144
  body {
145
  background-color: #030712 !important;
146
+ background-image: radial-gradient(circle at 50% -20%, #1a103c, #030712 70%) !important;
147
  font-family: 'Inter', -apple-system, sans-serif !important;
148
  }
149
 
 
154
 
155
  /* Glassmorphism Panels */
156
  .glass-panel {
157
+ background: rgba(17, 24, 39, 0.4) !important;
158
  backdrop-filter: blur(16px) !important;
159
  -webkit-backdrop-filter: blur(16px) !important;
160
+ border: 1px solid rgba(255, 255, 255, 0.05) !important;
161
  border-radius: 20px !important;
162
  padding: 2rem !important;
163
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5) !important;
164
  }
165
 
166
  .glass-header {
167
+ background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(59, 130, 246, 0.05)) !important;
168
  backdrop-filter: blur(16px) !important;
169
  -webkit-backdrop-filter: blur(16px) !important;
170
+ border: 1px solid rgba(255, 255, 255, 0.05) !important;
171
  border-radius: 24px !important;
172
  padding: 3rem 2rem !important;
173
  text-align: center;
174
  margin-bottom: 2.5rem;
175
+ box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.2) !important;
176
+ }
177
+
178
+ /* Make standard Gradio forms, boxes and groups transparent to avoid "boxes inside boxes" */
179
+ .gradio-container .form,
180
+ .gradio-container .box,
181
+ .gradio-container .group,
182
+ .gradio-container .block,
183
+ .gradio-container .panel {
184
+ background: transparent !important;
185
+ border: none !important;
186
+ box-shadow: none !important;
187
+ padding: 0 !important;
188
  }
189
 
190
  /* Title styling */
191
+ .glass-header h1 {
192
  font-family: 'Outfit', sans-serif !important;
193
  font-size: 3.5rem !important;
194
  font-weight: 900 !important;
 
200
  margin-bottom: 0.5rem !important;
201
  }
202
 
203
+ .glass-header h3 {
204
  font-size: 1.25rem !important;
205
  color: #94a3b8 !important;
206
  font-weight: 500 !important;
 
208
  margin-bottom: 0.5rem !important;
209
  }
210
 
211
+ .glass-header p {
212
  font-size: 1.05rem !important;
213
  color: #cbd5e1 !important;
214
  font-style: italic !important;
 
258
  margin-top: 2rem !important;
259
  }
260
 
261
+ /* Translucent styled sliders, dropdowns and inputs */
262
+ .gradio-container select,
263
+ .gradio-container input,
264
+ .gradio-container textarea,
265
+ .gradio-container .input-container {
266
+ background-color: rgba(10, 15, 30, 0.6) !important;
267
+ border: 1px solid rgba(255, 255, 255, 0.08) !important;
268
+ color: #f8fafc !important;
269
+ border-radius: 10px !important;
270
+ }
271
+
272
  /* Code fonts */
273
  .code-container {
274
  font-family: 'JetBrains Mono', 'Fira Code', monospace !important;
275
+ background-color: rgba(5, 8, 16, 0.8) !important;
276
+ border: 1px solid rgba(255, 255, 255, 0.06) !important;
277
  border-radius: 12px !important;
278
  }
279
  """
 
495
  with gr.Blocks(title="AgentDebuggerEnv Research Hub") as demo:
496
 
497
  # ── Header ────────────────────────────────────────────────────────────────
498
+ gr.HTML(
499
+ """
500
+ <div class="glass-header">
501
+ <h1>🐞 AgentDebuggerEnv</h1>
502
+ <h3>Interactive Research Showcase & Leaderboard</h3>
503
+ <p>Aligning LLMs on Hypothesis-Driven Debugging using GRPO Reinforcement Learning</p>
504
+ </div>
505
+ """
506
+ )
507
 
508
  with gr.Tabs():
509
  # ── Tab 1: Trajectory Explorer ────────────────────────────────────────