Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,9 +6,11 @@ from huggingface_hub import login
|
|
| 6 |
import gradio as gr
|
| 7 |
from smolagents import HfApiModel, CodeAgent, LiteLLMModel
|
| 8 |
|
| 9 |
-
# Login to Hugging Face for access to LLama
|
| 10 |
login(token = os.getenv('hf_login'))
|
| 11 |
claude = os.getenv('claude')
|
|
|
|
|
|
|
| 12 |
execute_firecrawl = firecrawler.FireCrawlTool()
|
| 13 |
retriever_tool = rag.retriever_tool
|
| 14 |
|
|
@@ -41,7 +43,6 @@ Objective: Provide a meticulously detailed, structured assessment of potential o
|
|
| 41 |
ANALYSIS FRAMEWORK:
|
| 42 |
1. RISK LEVEL
|
| 43 |
- Explicitly state an overall risk assessment (Low/Medium/High/Critical)
|
| 44 |
-
- Quantify risk probability if possible
|
| 45 |
|
| 46 |
2. URL ANALYSIS
|
| 47 |
- Detailed breakdown of URL characteristics
|
|
|
|
| 6 |
import gradio as gr
|
| 7 |
from smolagents import HfApiModel, CodeAgent, LiteLLMModel
|
| 8 |
|
| 9 |
+
# Login to Hugging Face for access to LLama or Claude token to access Claude
|
| 10 |
login(token = os.getenv('hf_login'))
|
| 11 |
claude = os.getenv('claude')
|
| 12 |
+
|
| 13 |
+
#Fetch tools
|
| 14 |
execute_firecrawl = firecrawler.FireCrawlTool()
|
| 15 |
retriever_tool = rag.retriever_tool
|
| 16 |
|
|
|
|
| 43 |
ANALYSIS FRAMEWORK:
|
| 44 |
1. RISK LEVEL
|
| 45 |
- Explicitly state an overall risk assessment (Low/Medium/High/Critical)
|
|
|
|
| 46 |
|
| 47 |
2. URL ANALYSIS
|
| 48 |
- Detailed breakdown of URL characteristics
|