jerry1979 commited on
Commit
78a80c0
·
verified ·
1 Parent(s): fa3f74a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -3,18 +3,17 @@ import datetime
3
  import requests
4
  import pytz
5
  import yaml
6
- import load_tool , tool
7
  from tools.final_answer import FinalAnswerTool
8
 
9
  from Gradio_UI import GradioUI
10
 
11
- textgen = load_tool("text-heneration" ,
12
- model="mistralai/Mistral-7B-Instruct-v0.2")
13
 
14
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
15
 
16
  @tool
17
- def ask_questions(question: str)-> str:
18
  """
19
  Ask any general question and get and AI-generated answer.
20
  """
 
3
  import requests
4
  import pytz
5
  import yaml
 
6
  from tools.final_answer import FinalAnswerTool
7
 
8
  from Gradio_UI import GradioUI
9
 
10
+ textgen = load_tool("text-heneration",
11
+ model="meta-llama/Llama-3-8B-Instruct"")
12
 
13
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
14
 
15
  @tool
16
+ def ask_question(question: str)-> str:
17
  """
18
  Ask any general question and get and AI-generated answer.
19
  """