ffreemt commited on
Commit
095939c
·
1 Parent(s): 86e03bf

with gr.Accordion('� Info', open=False):

Browse files
Files changed (1) hide show
  1. app.py +11 -8
app.py CHANGED
@@ -314,21 +314,24 @@ class GradioUI:
314
  [upload_status, file_uploads_log],
315
  )
316
 
317
- gr.HTML("<br><br><h4><center>Powered by:</center></h4>")
 
 
318
  with gr.Row():
319
- gr.HTML("""<div style="display: flex; align-items: center; gap: 8px; font-family: system-ui, -apple-system, sans-serif;">
320
  <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/smolagents/mascot_smol.png" style="width: 32px; height: 32px; object-fit: contain;" alt="logo">
321
- <a target="_blank" href="https://github.com/huggingface/smolagents"><b>huggingface/smolagents</b></a>
322
  </div>""")
323
-
324
  # -----
325
- gr.Markdown("""# open Deep Research - free the AI agents!
 
326
 
327
- OpenAI just (February 2, 2025) published [Deep Research](https://openai.com/index/introducing-deep-research/), an amazing assistant that can perform deep searches on the web to answer user questions.
328
 
329
- However, their agent has a huge downside: it's not open. So we've started a 24-hour rush to replicate and open-source it. Our (Huggingface's) resulting [open-Deep-Research agent](https://github.com/huggingface/smolagents/tree/main/examples/open_deep_research) took the #1 rank of any open submission on the GAIA leaderboard! ✨
330
 
331
- You can try a simplified version here that uses `Qwen-Coder-32B` (via smolagnet.HfApiModel) instead of `o1`. Modified: if you set MODEL_ID, OPENAI_API_BASE and OPENAI_API_KEY in the .env or env vars (in hf space these can be set in settings, .env will override env vars), the correspoding model will be used. N.B. if you see errors, it might be because whatever quota is exceeded, clone/duplicate this space and plug in your own resources and run your own deep-research.<br><br>""")
332
 
333
  # Add session state to store session-specific data
334
  session_state = gr.State(
 
314
  [upload_status, file_uploads_log],
315
  )
316
 
317
+ # gr.HTML("<h4><center>Powered by huggingface/smolagents</center></h4>")
318
+ # gr.Markdown("Powered by [huggingface/smolagents](https://github.com/huggingface/smolagents)")
319
+ # _ = '''
320
  with gr.Row():
321
+ gr.HTML("""<div style="display: flex; align-items: center; gap: 8px; font-family: system-ui, -apple-system, sans-serif;">Powered by
322
  <img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/smolagents/mascot_smol.png" style="width: 32px; height: 32px; object-fit: contain;" alt="logo">
323
+ <a target="_blank" href="https://github.com/huggingface/smolagents"><b>hf/smolagents</b></a>
324
  </div>""")
325
+ # '''
326
  # -----
327
+ with gr.Accordion("🎈 Info", open=False):
328
+ gr.Markdown("""### open Deep Research - free the AI agents!
329
 
330
+ OpenAI just (February 2, 2025) published [Deep Research](https://openai.com/index/introducing-deep-research/), an amazing assistant that can perform deep searches on the web to answer user questions.
331
 
332
+ However, their agent has a huge downside: it's not open. So we've started a 24-hour rush to replicate and open-source it. Our (Huggingface's) resulting [open-Deep-Research agent](https://github.com/huggingface/smolagents/tree/main/examples/open_deep_research) took the #1 rank of any open submission on the GAIA leaderboard! ✨
333
 
334
+ You can try a simplified version here that uses `Qwen-Coder-32B` (via smolagnet.HfApiModel) instead of `o1`. Modified: if you set MODEL_ID, OPENAI_API_BASE and OPENAI_API_KEY in the .env or env vars (in hf space these can be set in settings, .env will override env vars), the correspoding model will be used. N.B. if you see errors, it might be because whatever quota is exceeded, clone/duplicate this space and plug in your own resources and run your own deep-research.<br><br>""")
335
 
336
  # Add session state to store session-specific data
337
  session_state = gr.State(