wu981526092 commited on
Commit
3b65325
·
1 Parent(s): bfea55d

Add research paper PDF to login page with Git LFS

Browse files

✨ Features:
- Created backend/static/papers/ directory for PDF storage
- Added AgentGraph research paper (AAAI version) with Git LFS
- Configured FastAPI to serve static files at /static route
- Enhanced login page with paper download section below video
- Clean glass-card design with document icon and download link
- Opens PDF in new tab for better UX

📄 The research paper is now prominently displayed alongside the demo video,
giving users immediate access to the academic foundation of the platform.

🔧 Git LFS configured for PDF files to meet HF repository requirements.

.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.pdf filter=lfs diff=lfs merge=lfs -text
backend/app.py CHANGED
@@ -122,6 +122,9 @@ async def custom_http_exception_handler(request: Request, exc: HTTPException):
122
  # Mount datasets directory for accessing json files
123
  app.mount("/data", StaticFiles(directory="datasets"), name="data")
124
 
 
 
 
125
  # Include routers
126
  app.include_router(auth.router) # Add auth router first
127
  app.include_router(traces.router)
 
122
  # Mount datasets directory for accessing json files
123
  app.mount("/data", StaticFiles(directory="datasets"), name="data")
124
 
125
+ # Mount static directory for papers and other static assets
126
+ app.mount("/static", StaticFiles(directory="backend/static"), name="static")
127
+
128
  # Include routers
129
  app.include_router(auth.router) # Add auth router first
130
  app.include_router(traces.router)
backend/static/papers/agentgraph_paper.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c45430309b675ec5ff7b26c0458bf141f9c13407b6fa8e3aea00bb9e89e99ea0
3
+ size 2163245
backend/templates/login.html CHANGED
@@ -190,8 +190,9 @@
190
  </div>
191
  </div>
192
 
193
- <!-- Video Section -->
194
- <div class="relative">
 
195
  <div class="glass-card rounded-2xl overflow-hidden">
196
  <div class="relative aspect-video">
197
  <iframe
@@ -204,6 +205,36 @@
204
  </iframe>
205
  </div>
206
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
207
  </div>
208
  </div>
209
  </div>
 
190
  </div>
191
  </div>
192
 
193
+ <!-- Video and Paper Section -->
194
+ <div class="relative space-y-6">
195
+ <!-- Demo Video -->
196
  <div class="glass-card rounded-2xl overflow-hidden">
197
  <div class="relative aspect-video">
198
  <iframe
 
205
  </iframe>
206
  </div>
207
  </div>
208
+
209
+ <!-- Research Paper -->
210
+ <div class="glass-card p-6 rounded-2xl">
211
+ <div class="flex items-center space-x-4">
212
+ <div class="flex-shrink-0">
213
+ <svg class="w-8 h-8 text-primary" fill="currentColor" viewBox="0 0 20 20">
214
+ <path fill-rule="evenodd" d="M4 4a2 2 0 012-2h8a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V4zm2 0v12h8V4H6z" clip-rule="evenodd"/>
215
+ <path d="M8 6h4v1H8V6zM8 8h4v1H8V8zM8 10h2v1H8v-1z"/>
216
+ </svg>
217
+ </div>
218
+ <div class="flex-1">
219
+ <h3 class="text-lg font-semibold text-foreground mb-1">
220
+ Research Paper
221
+ </h3>
222
+ <p class="text-sm text-muted-foreground mb-3">
223
+ AgentGraph: Trace-to-Graph Platform for Interactive Analysis and Robustness Testing in Agentic AI Systems
224
+ </p>
225
+ <a
226
+ href="/static/papers/agentgraph_paper.pdf"
227
+ target="_blank"
228
+ class="inline-flex items-center text-primary hover:text-primary/80 transition-colors"
229
+ >
230
+ <svg class="w-4 h-4 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24">
231
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 10v6m0 0l-3-3m3 3l3-3m2 8H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"/>
232
+ </svg>
233
+ Download PDF
234
+ </a>
235
+ </div>
236
+ </div>
237
+ </div>
238
  </div>
239
  </div>
240
  </div>