str-platformAI commited on
Commit
3aae5df
·
1 Parent(s): e80f35b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -106,6 +106,7 @@ with gr.Blocks(theme='samayg/StriimTheme', css=CSS) as demo:
106
 
107
  chat_history = []
108
  def user(query, history):
 
109
  #if allow_internet:
110
  # Get response from internet-based query function
111
  # result = get_query_from_internet({"question": query, "chat_history": chat_history}, temperature=slider.value)
 
106
 
107
  chat_history = []
108
  def user(query, history):
109
+ global chat_history
110
  #if allow_internet:
111
  # Get response from internet-based query function
112
  # result = get_query_from_internet({"question": query, "chat_history": chat_history}, temperature=slider.value)