MMADS commited on
Commit
5f8d8c5
·
1 Parent(s): f72340f
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -357,7 +357,7 @@ class CVEDashboard:
357
 
358
  def generate_tailored_summary(cve_description: str, audience: str, hf_token: Optional[str] = None, max_retries: int = 2) -> str:
359
  """
360
- Generates a tailored CVE summary using google/gemma-2-9b-it via HuggingFace Inference API.
361
 
362
  Args:
363
  cve_description: The original CVE description
@@ -382,7 +382,7 @@ def generate_tailored_summary(cve_description: str, audience: str, hf_token: Opt
382
 
383
  # Define the model(s) to use
384
  models = [
385
- "google/gemma-2-9b-it",
386
  ]
387
 
388
  headers = {"Authorization": f"Bearer {token}"}
@@ -594,7 +594,7 @@ def create_interface():
594
  - Search CVEs by date range and keywords
595
  - Filter by severity levels
596
  - Visualize CVE distributions and trends
597
- - AI-powered audience-specific summaries using the google/gemma-2-9b-it model.
598
 
599
  **Supported Audiences:**
600
  - **Cybersecurity Professional:** Focus on threats, attack vectors, and mitigation
@@ -606,7 +606,7 @@ def create_interface():
606
 
607
  **Data Source:** [NIST NVD API](https://nvd.nist.gov/developers/vulnerabilities)
608
 
609
- **AI Model:** [google/gemma-2-9b-it](https://huggingface.co/google/gemma-2-9b-it)
610
 
611
  **Disclaimer:** Generated content may be inaccurate or false.
612
 
 
357
 
358
  def generate_tailored_summary(cve_description: str, audience: str, hf_token: Optional[str] = None, max_retries: int = 2) -> str:
359
  """
360
+ Generates a tailored CVE summary using google/gemma-2-2b-it via HuggingFace Inference API.
361
 
362
  Args:
363
  cve_description: The original CVE description
 
382
 
383
  # Define the model(s) to use
384
  models = [
385
+ "google/gemma-2-2b-it",
386
  ]
387
 
388
  headers = {"Authorization": f"Bearer {token}"}
 
594
  - Search CVEs by date range and keywords
595
  - Filter by severity levels
596
  - Visualize CVE distributions and trends
597
+ - AI-powered audience-specific summaries using the google/gemma-2-2b-it model.
598
 
599
  **Supported Audiences:**
600
  - **Cybersecurity Professional:** Focus on threats, attack vectors, and mitigation
 
606
 
607
  **Data Source:** [NIST NVD API](https://nvd.nist.gov/developers/vulnerabilities)
608
 
609
+ **AI Model:** [google/gemma-2-2b-it](https://huggingface.co/google/gemma-2-2b-it)
610
 
611
  **Disclaimer:** Generated content may be inaccurate or false.
612