Spaces:
Sleeping
Sleeping
Commit
·
7d4f1d1
1
Parent(s):
3c847e7
update
Browse files
app.py
CHANGED
@@ -147,12 +147,14 @@ def get_pixels(i, t, guest_id, evt: gr.SelectData):
|
|
147 |
|
148 |
# register
|
149 |
if guest_id == '-1':
|
150 |
-
seed = int(time.time())
|
151 |
global_dict[str(seed)] = {
|
152 |
'state': 0,
|
153 |
'stack': []
|
154 |
}
|
155 |
guest_id = str(seed)
|
|
|
|
|
156 |
|
157 |
text_position = evt.index
|
158 |
|
|
|
147 |
|
148 |
# register
|
149 |
if guest_id == '-1':
|
150 |
+
seed = str(int(time.time()))
|
151 |
global_dict[str(seed)] = {
|
152 |
'state': 0,
|
153 |
'stack': []
|
154 |
}
|
155 |
guest_id = str(seed)
|
156 |
+
else:
|
157 |
+
seed = guest_id
|
158 |
|
159 |
text_position = evt.index
|
160 |
|