Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,7 +48,7 @@ def handle_chat(user_input, teapot_ai):
|
|
| 48 |
|
| 49 |
context="\n".join(documents)
|
| 50 |
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."
|
| 51 |
-
response = query_teapot(context, user_input, teapot_ai)
|
| 52 |
|
| 53 |
# response = teapot_ai.chat([
|
| 54 |
# {
|
|
|
|
| 48 |
|
| 49 |
context="\n".join(documents)
|
| 50 |
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."
|
| 51 |
+
response = query_teapot(prompt, context, user_input, teapot_ai)
|
| 52 |
|
| 53 |
# response = teapot_ai.chat([
|
| 54 |
# {
|