selfitcamera
commited on
Commit
•
33ebd1e
1
Parent(s):
6dddccf
init
Browse files- __pycache__/utils.cpython-312.pyc +0 -0
- utils.py +2 -1
__pycache__/utils.cpython-312.pyc
CHANGED
Binary files a/__pycache__/utils.cpython-312.pyc and b/__pycache__/utils.cpython-312.pyc differ
|
|
utils.py
CHANGED
@@ -50,7 +50,7 @@ def checkToken(token):
|
|
50 |
else:
|
51 |
print(ret.json(), ret.status_code, 'call token failed')
|
52 |
return res
|
53 |
-
|
54 |
class UserRecorder(object):
|
55 |
|
56 |
def __init__(self, ):
|
@@ -141,6 +141,7 @@ def get_temps_examples(taskType):
|
|
141 |
if len(temp_name)==0: continue
|
142 |
temp_path = os.path.join(temp_dir, f)
|
143 |
examples.append([temp_path])
|
|
|
144 |
return examples
|
145 |
|
146 |
def get_user_examples(taskType):
|
|
|
50 |
else:
|
51 |
print(ret.json(), ret.status_code, 'call token failed')
|
52 |
return res
|
53 |
+
|
54 |
class UserRecorder(object):
|
55 |
|
56 |
def __init__(self, ):
|
|
|
141 |
if len(temp_name)==0: continue
|
142 |
temp_path = os.path.join(temp_dir, f)
|
143 |
examples.append([temp_path])
|
144 |
+
examples = examples[::-1]
|
145 |
return examples
|
146 |
|
147 |
def get_user_examples(taskType):
|