Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -493,25 +493,25 @@ class GradioUI:
|
|
493 |
# Render simple layout
|
494 |
else:
|
495 |
with gr.Blocks(fill_height=True,) as simple_demo:
|
496 |
-
|
497 |
-
_Built with [smolagents](https://github.com/huggingface/smolagents)_
|
498 |
|
499 |
-
OpenAI just published [Deep Research](https://openai.com/index/introducing-deep-research/), a very nice assistant that can perform deep searches on the web to answer user questions.
|
500 |
|
501 |
-
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 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! ✨
|
502 |
|
503 |
-
You can try a simplified version below (uses `Qwen-Coder-32B` instead of `o1`, so much less powerful than the original open-Deep-Research)👇""")
|
504 |
# Add session state to store session-specific data
|
505 |
session_state = gr.State({}) # Initialize empty state for each session
|
506 |
stored_messages = gr.State([])
|
507 |
file_uploads_log = gr.State([])
|
508 |
chatbot = gr.Chatbot(
|
509 |
-
label="
|
510 |
type="messages",
|
511 |
-
avatar_images=(
|
512 |
-
|
513 |
-
|
514 |
-
),
|
515 |
resizeable=True,
|
516 |
scale=1,
|
517 |
)
|
|
|
493 |
# Render simple layout
|
494 |
else:
|
495 |
with gr.Blocks(fill_height=True,) as simple_demo:
|
496 |
+
# gr.Markdown("""# open Deep Research - free the AI agents!
|
497 |
+
# _Built with [smolagents](https://github.com/huggingface/smolagents)_
|
498 |
|
499 |
+
# OpenAI just published [Deep Research](https://openai.com/index/introducing-deep-research/), a very nice assistant that can perform deep searches on the web to answer user questions.
|
500 |
|
501 |
+
# 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 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! ✨
|
502 |
|
503 |
+
# You can try a simplified version below (uses `Qwen-Coder-32B` instead of `o1`, so much less powerful than the original open-Deep-Research)👇""")
|
504 |
# Add session state to store session-specific data
|
505 |
session_state = gr.State({}) # Initialize empty state for each session
|
506 |
stored_messages = gr.State([])
|
507 |
file_uploads_log = gr.State([])
|
508 |
chatbot = gr.Chatbot(
|
509 |
+
label="Open Agent",
|
510 |
type="messages",
|
511 |
+
# avatar_images=(
|
512 |
+
# None,
|
513 |
+
# "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/smolagents/mascot_smol.png",
|
514 |
+
# ),
|
515 |
resizeable=True,
|
516 |
scale=1,
|
517 |
)
|