shukdevdattaEX commited on
Commit
3667b6c
·
verified ·
1 Parent(s): e0f67b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -15
app.py CHANGED
@@ -36,9 +36,6 @@ class CreativeAgenticAI:
36
  "compound-beta": {"supports_web_search": True, "supports_browser_search": False},
37
  "compound-beta-mini": {"supports_web_search": True, "supports_browser_search": False},
38
  "openai/gpt-oss-20b": {"supports_web_search": False, "supports_browser_search": True},
39
- "llama-3.3-70b-versatile": {"supports_web_search": False, "supports_browser_search": True},
40
- "llama-3.1-70b-versatile": {"supports_web_search": False, "supports_browser_search": True},
41
- "mixtral-8x7b-32768": {"supports_web_search": False, "supports_browser_search": True},
42
  }
43
 
44
  def chat(self, message: str,
@@ -626,10 +623,7 @@ def create_gradio_app():
626
  choices=[
627
  "compound-beta",
628
  "compound-beta-mini",
629
- "openai/gpt-oss-20b",
630
- "llama-3.3-70b-versatile",
631
- "llama-3.1-70b-versatile",
632
- "mixtral-8x7b-32768"
633
  ],
634
  label="🧠 Model Selection",
635
  value="compound-beta",
@@ -822,7 +816,7 @@ def create_gradio_app():
822
  - Use "Force Search" for the most current information
823
 
824
  **For Current Events:**
825
- - Use tool-based models (openai/gpt-oss-20b, llama models)
826
  - Set search type to "browser_search"
827
  - Enable "Force Search" for real-time data
828
 
@@ -830,11 +824,6 @@ def create_gradio_app():
830
  - Any model works well
831
  - Set search type to "none" for purely creative responses
832
  - Use higher temperature (0.8-1.0) for more creativity
833
-
834
- **For Technical Questions:**
835
- - Use llama-3.1-70b-versatile for programming
836
- - Include tech domains (github.com, stackoverflow.com) with compound models
837
- - Use browser search for latest documentation
838
  """)
839
 
840
  # Sample Examples Section
@@ -858,7 +847,7 @@ def create_gradio_app():
858
 
859
  **Real-time News:**
860
  - Query: "What happened in AI industry this week?"
861
- - Model: llama-3.3-70b-versatile
862
  - Search type: browser_search
863
  - Force search: enabled
864
 
@@ -872,7 +861,7 @@ def create_gradio_app():
872
  - Query: "How to implement OAuth 2.0 in Python Flask?"
873
  - Try with both model types:
874
  - compound-beta with "github.com, docs.python.org, stackoverflow.com"
875
- - llama-3.1-70b-versatile with browser_search
876
 
877
  <h4>🎨 Creative Tasks (No Search Needed)</h4>
878
  - Query: "Write a short story about AI and humans working together"
 
36
  "compound-beta": {"supports_web_search": True, "supports_browser_search": False},
37
  "compound-beta-mini": {"supports_web_search": True, "supports_browser_search": False},
38
  "openai/gpt-oss-20b": {"supports_web_search": False, "supports_browser_search": True},
 
 
 
39
  }
40
 
41
  def chat(self, message: str,
 
623
  choices=[
624
  "compound-beta",
625
  "compound-beta-mini",
626
+ "openai/gpt-oss-20b"
 
 
 
627
  ],
628
  label="🧠 Model Selection",
629
  value="compound-beta",
 
816
  - Use "Force Search" for the most current information
817
 
818
  **For Current Events:**
819
+ - Use tool-based models (openai/gpt-oss-20b)
820
  - Set search type to "browser_search"
821
  - Enable "Force Search" for real-time data
822
 
 
824
  - Any model works well
825
  - Set search type to "none" for purely creative responses
826
  - Use higher temperature (0.8-1.0) for more creativity
 
 
 
 
 
827
  """)
828
 
829
  # Sample Examples Section
 
847
 
848
  **Real-time News:**
849
  - Query: "What happened in AI industry this week?"
850
+ - Model: openai/gpt-oss-20b
851
  - Search type: browser_search
852
  - Force search: enabled
853
 
 
861
  - Query: "How to implement OAuth 2.0 in Python Flask?"
862
  - Try with both model types:
863
  - compound-beta with "github.com, docs.python.org, stackoverflow.com"
864
+ - openai/gpt-oss-20b with browser_search
865
 
866
  <h4>🎨 Creative Tasks (No Search Needed)</h4>
867
  - Query: "Write a short story about AI and humans working together"