Leonardo commited on
Commit
722be73
·
verified ·
1 Parent(s): cfe1cb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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: GOOGLE
193
  ) # DEEPSEEK = openrouter/perplexity/r1-1776 <--- boss model
194
 
195
  # Initialize tools
196
- text_limit = 20000
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 - free the AI agents!
425
- Currently on: perplexity/r1-1776""")
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(