Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,9 +69,9 @@ rag_chain = (
|
|
| 69 |
|
| 70 |
import gradio as gr
|
| 71 |
|
| 72 |
-
def rag_memory_stream(
|
| 73 |
partial_text = ""
|
| 74 |
-
for new_text in rag_chain.stream(
|
| 75 |
partial_text += new_text
|
| 76 |
yield partial_text
|
| 77 |
|
|
|
|
| 69 |
|
| 70 |
import gradio as gr
|
| 71 |
|
| 72 |
+
def rag_memory_stream(message, history)):
|
| 73 |
partial_text = ""
|
| 74 |
+
for new_text in rag_chain.stream(message):
|
| 75 |
partial_text += new_text
|
| 76 |
yield partial_text
|
| 77 |
|