SuccessfulCrab commited on
Commit
5c3749a
·
verified ·
1 Parent(s): 86d6605

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -13,7 +13,7 @@ retriever_tool = rag.retriever_tool
13
 
14
  agent = CodeAgent(
15
  tools=[execute_firecrawl, retriever_tool],
16
- model=HfApiModel("meta-llama/Llama-3.3-70B-Instruct", temperature=0.7),
17
  #temperature=0.7, # Slightly higher creativity
18
  #top_p=0.9, # More diverse token selection
19
  #verbose=True, # Enable detailed logging
@@ -158,8 +158,8 @@ with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
158
 
159
  with gr.Row():
160
  with gr.Column(scale=1, min_width=300):
161
- input_text = gr.Textbox(label="Description", info="Please describe your concerns regarding the situation", lines=3, value="On Monday the 5th of April...")
162
- input_url = gr.Textbox(label="URLs", info="Please enter a suspicious URL", lines=3, value="http://www.suspicious.xyz")
163
  btn = gr.Button("Process submission")
164
 
165
  with gr.Column(scale=2, min_width=300):
 
13
 
14
  agent = CodeAgent(
15
  tools=[execute_firecrawl, retriever_tool],
16
+ model=HfApiModel("meta-llama/Llama-3.3-70B-Instruct", temperature=0.7, max_tokens=2096),
17
  #temperature=0.7, # Slightly higher creativity
18
  #top_p=0.9, # More diverse token selection
19
  #verbose=True, # Enable detailed logging
 
158
 
159
  with gr.Row():
160
  with gr.Column(scale=1, min_width=300):
161
+ input_text = gr.Textbox(label="Description", info="Please describe your concerns regarding the situation", lines=3, value="Is this website a reliable source of investment information?")
162
+ input_url = gr.Textbox(label="URLs", info="Please enter a suspicious URL", lines=3, value="https://fliojinews.xyz/9tKwgmC7")
163
  btn = gr.Button("Process submission")
164
 
165
  with gr.Column(scale=2, min_width=300):