zizzimars commited on
Commit
99d78fb
·
verified ·
1 Parent(s): 3e66468

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -10,14 +10,14 @@ from Gradio_UI import GradioUI
10
 
11
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
12
  @tool
13
- def get_med_answer(description:str)-> str: #it's import to specify the return type
14
  #Keep this format for the description / args / args description but feel free to modify the tool
15
- """A tool for a medical chat
16
  Args:
17
- arg1: takes text description for medical question
18
  """
19
  medchat = MedChat()
20
- answer = medchat(description)
21
  return answer
22
 
23
  @tool
 
10
 
11
  # Below is an example of a tool that does nothing. Amaze us with your creativity !
12
  @tool
13
+ def get_med_answer(question:str)-> str: #it's import to specify the return type
14
  #Keep this format for the description / args / args description but feel free to modify the tool
15
+ """A tool for answering on health related questions
16
  Args:
17
+ question: takes text description for medical question
18
  """
19
  medchat = MedChat()
20
+ answer = medchat(question)
21
  return answer
22
 
23
  @tool