wli13 commited on
Commit
3ef4592
·
verified ·
1 Parent(s): a7befe0

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -1
app.py CHANGED
@@ -310,6 +310,24 @@ with gr.Blocks(
310
  ],
311
  )
312
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
313
  with gr.Tab("About"):
314
  gr.Markdown(
315
  f"""
@@ -345,4 +363,4 @@ demo.queue(default_concurrency_limit=1, max_size=8)
345
 
346
 
347
  if __name__ == "__main__":
348
- demo.launch()
 
310
  ],
311
  )
312
 
313
+ with gr.Tab("Chat"):
314
+ gr.HTML(
315
+ """
316
+ <div style="margin: 0 0 12px 0; color: #526072;">
317
+ Evidence-grounded spatial molecular reasoning with adapted Qwen3-8B.
318
+ <a href="https://wli13-histagent-chat.hf.space" target="_blank"
319
+ rel="noopener noreferrer">Open Chat in a new tab</a>
320
+ </div>
321
+ <iframe
322
+ src="https://wli13-histagent-chat.hf.space"
323
+ title="HistAgent Chat"
324
+ style="width: 100%; height: 900px; border: 1px solid #dbe5ef;
325
+ border-radius: 16px; background: white;"
326
+ loading="lazy">
327
+ </iframe>
328
+ """
329
+ )
330
+
331
  with gr.Tab("About"):
332
  gr.Markdown(
333
  f"""
 
363
 
364
 
365
  if __name__ == "__main__":
366
+ demo.launch()