Spaces:
Runtime error
Runtime error
selfitcamera
commited on
Commit
·
9b08b9d
1
Parent(s):
33ebd1e
init
Browse files
utils.py
CHANGED
|
@@ -120,9 +120,10 @@ class UserRecorder(object):
|
|
| 120 |
if record_data[key]['input1'] is not None:
|
| 121 |
input1 = record_data[key]['input1']
|
| 122 |
output1 = record_data[key]['output1']
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
|
|
|
| 126 |
elif status in ['IN_QUEUE', 'IN_PROGRESS', 'IN_QUEUE', ]:
|
| 127 |
process_n += 1
|
| 128 |
|
|
|
|
| 120 |
if record_data[key]['input1'] is not None:
|
| 121 |
input1 = record_data[key]['input1']
|
| 122 |
output1 = record_data[key]['output1']
|
| 123 |
+
if show_i<=2:
|
| 124 |
+
shows[show_i*2] = f"<img src=\"{input1}\" >"
|
| 125 |
+
shows[show_i*2+1] = f"<img src=\"{output1}\" >"
|
| 126 |
+
show_i += 1
|
| 127 |
elif status in ['IN_QUEUE', 'IN_PROGRESS', 'IN_QUEUE', ]:
|
| 128 |
process_n += 1
|
| 129 |
|