Tonic commited on
Commit
a301333
1 Parent(s): fa5922d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -89,6 +89,7 @@ def build_prompt(task_instruction: str, format_instruction: str, tools: list, qu
89
  prompt += f"[BEGIN OF QUERY]\n{query}\n[END OF QUERY]\n\n"
90
  return prompt
91
 
 
92
  def generate_response(tools_input, query):
93
  try:
94
  tools = json.loads(tools_input)
 
89
  prompt += f"[BEGIN OF QUERY]\n{query}\n[END OF QUERY]\n\n"
90
  return prompt
91
 
92
+ @spaces.GPU
93
  def generate_response(tools_input, query):
94
  try:
95
  tools = json.loads(tools_input)