selfitcamera commited on
Commit
9b08b9d
1 Parent(s): 33ebd1e
Files changed (1) hide show
  1. utils.py +4 -3
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
- shows[show_i*2] = f"<img src=\"{input1}\" >"
124
- shows[show_i*2+1] = f"<img src=\"{output1}\" >"
125
- show_i += 1
 
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