Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ with gr.Blocks(css=customCSS, theme=small_and_beautiful_theme) as demo:
|
|
126 |
|
127 |
def bot(history):
|
128 |
user_message = history[-1][0] # get if from most recent history element
|
129 |
-
user_message = user_message + " Please provide the source documents" # to alter the prompt and provide sources
|
130 |
response = agent_chain(user_message)
|
131 |
bot_message = response['output']
|
132 |
history[-1][1] = ""
|
|
|
126 |
|
127 |
def bot(history):
|
128 |
user_message = history[-1][0] # get if from most recent history element
|
129 |
+
#user_message = user_message + " Please provide the source documents" # to alter the prompt and provide sources
|
130 |
response = agent_chain(user_message)
|
131 |
bot_message = response['output']
|
132 |
history[-1][1] = ""
|