teaevo commited on
Commit
95934ef
·
1 Parent(s): 9bb7983

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -109,8 +109,10 @@ def sqlquery(input, conversation_history):
109
  # Maintain the conversation history
110
  conversation_history.append("User: " + input)
111
  conversation_history.append("Bot: " + sql_response)
 
 
112
 
113
- return conversation_history
114
 
115
 
116
  chat_interface = gr.Interface(
 
109
  # Maintain the conversation history
110
  conversation_history.append("User: " + input)
111
  conversation_history.append("Bot: " + sql_response)
112
+
113
+ output = " ".join(conversation_history)
114
 
115
+ return output
116
 
117
 
118
  chat_interface = gr.Interface(