mou3az commited on
Commit
9d8281b
1 Parent(s): 0b599a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -221,7 +221,6 @@ def Chat_Message(history, messages1):
221
  yield messages1
222
 
223
  def Internet_Search(history, messages2):
224
- messages2 = gr.State(messages1_state)
225
 
226
  message=history[-1][0]
227
 
@@ -257,7 +256,6 @@ def Internet_Search(history, messages2):
257
  yield history, messages2
258
 
259
  def Chart_Generator(history, messages3):
260
- messages3 = gr.State(messages1_state)
261
 
262
  message = history[-1][0]
263
  if '#chart' in message:
@@ -301,7 +299,6 @@ def Chart_Generator(history, messages3):
301
  yield history, messages3
302
 
303
  def Link_Scratch(history, messages4):
304
- messages4 = gr.State(messages1_state)
305
 
306
  combined_message = history[-1][0]
307
 
@@ -364,7 +361,6 @@ def display_file_name(file):
364
  raise gr.Error("( Supported File Types Only : PDF , CSV , TXT , DOCX , PPTX , XLSX , JSON , HTML , XML )")
365
 
366
  def File_Interact(history, filepath, messages5):
367
- messages5 = gr.State(messages1_state)
368
 
369
  combined_message = history[-1][0]
370
 
@@ -409,7 +405,6 @@ def File_Interact(history, filepath, messages5):
409
  yield history, messages5
410
 
411
  def Explore_WebSite(history, messages6):
412
- messages6 = gr.State(messages1_state)
413
 
414
  message=history[-1][0]
415
 
 
221
  yield messages1
222
 
223
  def Internet_Search(history, messages2):
 
224
 
225
  message=history[-1][0]
226
 
 
256
  yield history, messages2
257
 
258
  def Chart_Generator(history, messages3):
 
259
 
260
  message = history[-1][0]
261
  if '#chart' in message:
 
299
  yield history, messages3
300
 
301
  def Link_Scratch(history, messages4):
 
302
 
303
  combined_message = history[-1][0]
304
 
 
361
  raise gr.Error("( Supported File Types Only : PDF , CSV , TXT , DOCX , PPTX , XLSX , JSON , HTML , XML )")
362
 
363
  def File_Interact(history, filepath, messages5):
 
364
 
365
  combined_message = history[-1][0]
366
 
 
405
  yield history, messages5
406
 
407
  def Explore_WebSite(history, messages6):
 
408
 
409
  message=history[-1][0]
410