kavansaun commited on
Commit
5bd3b97
·
verified ·
1 Parent(s): 88ad7d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ with gr.Blocks(theme=gr.themes.Monochrome(),css="footer{display:none !important}
19
  global message_history # Made global variables so we can use them in the "predict_prompt" function.
20
  global instructions
21
  global filename
22
- global user_dictionary # Pretty sure setting this as global is the only way to get it in the scope here but I dont know.
23
 
24
  new_id = str(uuid.uuid4()) # Id created by uuid.
25
  print("Loading in user: " + new_id)
 
19
  global message_history # Made global variables so we can use them in the "predict_prompt" function.
20
  global instructions
21
  global filename
22
+ global user_dictionary # Pretty sure setting this as global is the only way to get it in the scope of this function but I dont know. This might be a leak for the user dictionary.
23
 
24
  new_id = str(uuid.uuid4()) # Id created by uuid.
25
  print("Loading in user: " + new_id)