zakerytclarke commited on
Commit
9db1f1a
·
verified ·
1 Parent(s): bddccb9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ async def handle_chat(user_input):
103
  context = "\n".join(documents)
104
  prompt = """You are Teapot, an open-source AI assistant optimized for low-end devices, providing short, accurate responses without hallucinating while excelling at information extraction and text summarization."""
105
  generation_start_time = time.time()
106
- response = await query_teapot(prompt, context, user_input)
107
 
108
  if len(results)==0:
109
  response = "I'm sorry but I don't have any information on that."
 
103
  context = "\n".join(documents)
104
  prompt = """You are Teapot, an open-source AI assistant optimized for low-end devices, providing short, accurate responses without hallucinating while excelling at information extraction and text summarization."""
105
  generation_start_time = time.time()
106
+ response = query_teapot(prompt, context, user_input)
107
 
108
  if len(results)==0:
109
  response = "I'm sorry but I don't have any information on that."