elibrowne commited on
Commit
d248797
1 Parent(s): 068bb16

Temporary user profile

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -30,6 +30,9 @@ current_question = {} # read-only within gradio blocks
30
  user_id = "no_id"
31
  qIDs = ["mbe_46", "mbe_132", "mbe_287", "mbe_326", "mbe_334", "mbe_389", "mbe_563", "mbe_614", "mbe_642", "mbe_747", "mbe_779", "mbe_826", "mbe_845", "mbe_1042", "mbe_1134"]
32
  mode_options = ["e5", "colbert"]
 
 
 
33
 
34
  def load_user_data(id):
35
  global user_data
 
30
  user_id = "no_id"
31
  qIDs = ["mbe_46", "mbe_132", "mbe_287", "mbe_326", "mbe_334", "mbe_389", "mbe_563", "mbe_614", "mbe_642", "mbe_747", "mbe_779", "mbe_826", "mbe_845", "mbe_1042", "mbe_1134"]
32
  mode_options = ["e5", "colbert"]
33
+ # Control global variables
34
+ step = 0
35
+ mode = 0
36
 
37
  def load_user_data(id):
38
  global user_data