Spaces:
Runtime error
Runtime error
Leonardo
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -189,11 +189,11 @@ def create_agent():
|
|
| 189 |
# Initialize model
|
| 190 |
model = LiteLLMModel(
|
| 191 |
custom_role_conversions=custom_role_conversions,
|
| 192 |
-
model_id="openrouter/perplexity/r1-1776", # currently serving:
|
| 193 |
) # DEEPSEEK = openrouter/perplexity/r1-1776 <--- boss model
|
| 194 |
|
| 195 |
# Initialize tools
|
| 196 |
-
text_limit =
|
| 197 |
browser = SimpleTextBrowser(**BROWSER_CONFIG)
|
| 198 |
|
| 199 |
# Collect all tools in a single list
|
|
@@ -421,8 +421,8 @@ class GradioUI:
|
|
| 421 |
"""Create the desktop layout with sidebar."""
|
| 422 |
with gr.Blocks(fill_height=True) as sidebar_demo:
|
| 423 |
with gr.Sidebar():
|
| 424 |
-
gr.Markdown("""#OpenDeepResearch -
|
| 425 |
-
|
| 426 |
with gr.Group():
|
| 427 |
gr.Markdown("**What's on your mind mate?**", container=True)
|
| 428 |
text_input = gr.Textbox(
|
|
|
|
| 189 |
# Initialize model
|
| 190 |
model = LiteLLMModel(
|
| 191 |
custom_role_conversions=custom_role_conversions,
|
| 192 |
+
model_id="openrouter/perplexity/r1-1776", # currently serving:
|
| 193 |
) # DEEPSEEK = openrouter/perplexity/r1-1776 <--- boss model
|
| 194 |
|
| 195 |
# Initialize tools
|
| 196 |
+
text_limit = 30000
|
| 197 |
browser = SimpleTextBrowser(**BROWSER_CONFIG)
|
| 198 |
|
| 199 |
# Collect all tools in a single list
|
|
|
|
| 421 |
"""Create the desktop layout with sidebar."""
|
| 422 |
with gr.Blocks(fill_height=True) as sidebar_demo:
|
| 423 |
with gr.Sidebar():
|
| 424 |
+
gr.Markdown("""#OpenDeepResearch - 3theSmolagents!
|
| 425 |
+
Model_id: R1-1776""")
|
| 426 |
with gr.Group():
|
| 427 |
gr.Markdown("**What's on your mind mate?**", container=True)
|
| 428 |
text_input = gr.Textbox(
|