Omnibus commited on
Commit
e5deecc
1 Parent(s): dae3c9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -78,10 +78,10 @@ def process_vid(file,cur_frame,every_n):
78
  else:
79
  pass
80
  count +=1
81
- yield (None,f"Searching Frame: {i}", "")
82
  except Exception as e:
83
- yield (gr.HTML(f'{e}'),"","")
84
- yield (gr.HTML('No frame matches found.'),"","")
85
 
86
  def process_im(file):
87
  read_file = Image.open(file)
 
78
  else:
79
  pass
80
  count +=1
81
+ #return (None,f"Searching Frame: {i}", "")
82
  except Exception as e:
83
+ return (gr.HTML(f'{e}'),"","")
84
+ return (gr.HTML('No frame matches found.'),"","")
85
 
86
  def process_im(file):
87
  read_file = Image.open(file)