shukdevdatta123 commited on
Commit
2701b76
Β·
verified Β·
1 Parent(s): ab77095

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -303,7 +303,7 @@ def create_gradio_app():
303
  </div>
304
  """)
305
 
306
- # How to Use Section
307
  with gr.Accordion("πŸ€– NeuroScope AI", open=False):
308
  gr.Markdown("""
309
  - 🧠 Intelligence (Neuro)
@@ -311,6 +311,11 @@ def create_gradio_app():
311
  - πŸ€– AI capabilities (AI)
312
  - ⚑ Precision (Scope implies focused, targeted results)
313
  """)
 
 
 
 
 
314
 
315
  # API Key Section
316
  with gr.Row():
@@ -368,8 +373,8 @@ def create_gradio_app():
368
  send_btn = gr.Button("πŸ“€ Send", variant="primary")
369
  clear_btn = gr.Button("πŸ—‘οΈ Clear", variant="secondary")
370
 
371
- # Advanced Settings
372
- with gr.Accordion("βš™οΈ Advanced Settings", open=False):
373
  with gr.Row():
374
  temperature = gr.Slider(
375
  minimum=0.0,
@@ -393,7 +398,7 @@ def create_gradio_app():
393
  placeholder="Override the default system prompt...",
394
  lines=2,
395
  info="Leave empty to use default creative assistant prompt"
396
- )
397
 
398
  # Domain Filtering Section
399
  with gr.Accordion("🌐 Domain Filtering (for Web Search)", open=False):
@@ -421,11 +426,6 @@ def create_gradio_app():
421
  placeholder="wikipedia.org, reddit.com, twitter.com",
422
  info="Never search these domains"
423
  )
424
-
425
- with gr.Accordion("πŸ“š IMPORTANT !!!", open=False):
426
- gr.Markdown("""
427
- When **no domains are specified**, NeuroScope AI operates with unrestricted web search capabilities, allowing the compound models to autonomously search across the entire internet to find the most relevant and up-to-date information to answer your questions - essentially giving the AI complete freedom to use its agentic tools and search any website it deems helpful. When **domains are specified** (either include or exclude lists), you're essentially putting the AI on a leash - if you specify "include domains" like "arxiv.org, *.edu", the AI can ONLY search those academic sources, making it laser-focused on scholarly content, while "exclude domains" like "wikipedia.org, reddit.com" tells the AI to search everywhere EXCEPT those sites, filtering out potentially unreliable sources. The **🎭 Custom System Prompt** feature allows you to completely override the AI's default personality and behavior - instead of the default creative assistant, you could make it act like a professional business consultant, a coding mentor, a creative writer, or even a specific character, essentially giving you the power to reshape the AI's entire conversational style and expertise focus with a single prompt change.
428
- """)
429
 
430
  with gr.Accordion("πŸ”— Common Domain Examples", open=False):
431
  gr.Markdown("""
 
303
  </div>
304
  """)
305
 
306
+ # NeuroScope AI Section
307
  with gr.Accordion("πŸ€– NeuroScope AI", open=False):
308
  gr.Markdown("""
309
  - 🧠 Intelligence (Neuro)
 
311
  - πŸ€– AI capabilities (AI)
312
  - ⚑ Precision (Scope implies focused, targeted results)
313
  """)
314
+
315
+ with gr.Accordion("πŸ“š IMPORTANT !!!", open=False):
316
+ gr.Markdown("""
317
+ When **no domains are specified**, NeuroScope AI operates with unrestricted web search capabilities, allowing the compound models to autonomously search across the entire internet to find the most relevant and up-to-date information to answer your questions - essentially giving the AI complete freedom to use its agentic tools and search any website it deems helpful. When **domains are specified** (either include or exclude lists), you're essentially putting the AI on a leash - if you specify "include domains" like "arxiv.org, *.edu", the AI can ONLY search those academic sources, making it laser-focused on scholarly content, while "exclude domains" like "wikipedia.org, reddit.com" tells the AI to search everywhere EXCEPT those sites, filtering out potentially unreliable sources. The **🎭 Custom System Prompt** feature allows you to completely override the AI's default personality and behavior - instead of the default creative assistant, you could make it act like a professional business consultant, a coding mentor, a creative writer, or even a specific character, essentially giving you the power to reshape the AI's entire conversational style and expertise focus with a single prompt change.
318
+ """)
319
 
320
  # API Key Section
321
  with gr.Row():
 
373
  send_btn = gr.Button("πŸ“€ Send", variant="primary")
374
  clear_btn = gr.Button("πŸ—‘οΈ Clear", variant="secondary")
375
 
376
+ # Advanced Settings
377
+ with gr.Accordion("βš™οΈ Advanced Settings", open=False):
378
  with gr.Row():
379
  temperature = gr.Slider(
380
  minimum=0.0,
 
398
  placeholder="Override the default system prompt...",
399
  lines=2,
400
  info="Leave empty to use default creative assistant prompt"
401
+ )
402
 
403
  # Domain Filtering Section
404
  with gr.Accordion("🌐 Domain Filtering (for Web Search)", open=False):
 
426
  placeholder="wikipedia.org, reddit.com, twitter.com",
427
  info="Never search these domains"
428
  )
 
 
 
 
 
429
 
430
  with gr.Accordion("πŸ”— Common Domain Examples", open=False):
431
  gr.Markdown("""