sultan-hassan commited on
Commit
3f51add
·
verified ·
1 Parent(s): 7df1bda

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