str-platformAI commited on
Commit
d3532d8
·
1 Parent(s): b79eb10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -104,9 +104,8 @@ with gr.Blocks(theme='samayg/StriimTheme', css=CSS) as demo:
104
  #slider = gr.Slider(minimum=0, maximum=1, step=0.01, value=0, label="Temperature", info="The temperature of StriimGPT, default at 0. Higher values may allow for better inference but may fabricate false information.")
105
  #internet_access = gr.Checkbox(value=False, label="Allow Internet Access?", info="If the chatbot cannot answer your question, this setting allows for internet access. Warning: this may take longer and produce inaccurate results.")
106
 
107
-
108
  def user(query, history):
109
- 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)
 
104
  #slider = gr.Slider(minimum=0, maximum=1, step=0.01, value=0, label="Temperature", info="The temperature of StriimGPT, default at 0. Higher values may allow for better inference but may fabricate false information.")
105
  #internet_access = gr.Checkbox(value=False, label="Allow Internet Access?", info="If the chatbot cannot answer your question, this setting allows for internet access. Warning: this may take longer and produce inaccurate results.")
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)