bezaime commited on
Commit
c7a20f3
·
verified ·
1 Parent(s): eb3640e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,9 +69,9 @@ rag_chain = (
69
 
70
  import gradio as gr
71
 
72
- def rag_memory_stream(text):
73
  partial_text = ""
74
- for new_text in rag_chain.stream(text):
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