zakerytclarke commited on
Commit
44b3e03
·
verified ·
1 Parent(s): 90ef2fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ async def handle_chat(user_input):
81
  context = "\n".join(documents)
82
  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."""
83
  generation_start_time = time.time()
84
- response = query_teapot(prompt, context, user_input)
85
 
86
  if len(results)==0:
87
  response = "I'm sorry but I don't have any information on that."
 
81
  context = "\n".join(documents)
82
  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."""
83
  generation_start_time = time.time()
84
+ response = await query_teapot(prompt, context, user_input)
85
 
86
  if len(results)==0:
87
  response = "I'm sorry but I don't have any information on that."