Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,8 @@ def respond(
|
|
44 |
)
|
45 |
outputs = ""
|
46 |
for output in stream:
|
47 |
-
|
|
|
48 |
yield outputs
|
49 |
# from llama_cpp import Llama
|
50 |
# from llama_cpp_agent import LlamaCppAgent
|
|
|
44 |
)
|
45 |
outputs = ""
|
46 |
for output in stream:
|
47 |
+
print(output)
|
48 |
+
outputs += output["choices"][0]["delta"]
|
49 |
yield outputs
|
50 |
# from llama_cpp import Llama
|
51 |
# from llama_cpp_agent import LlamaCppAgent
|