pikto commited on
Commit
ffb1b67
·
1 Parent(s): 9bf4a83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -28,6 +28,9 @@ for model in models:
28
  def text_it(inputs, text_gen=text_gen):
29
  return text_gen(inputs)
30
 
 
 
 
31
 
32
  def set_model(current_model_index):
33
  global current_model
 
28
  def text_it(inputs, text_gen=text_gen):
29
  return text_gen(inputs)
30
 
31
+ def load_image(image_path):
32
+ image = cv2.imread(image_path)
33
+ return image
34
 
35
  def set_model(current_model_index):
36
  global current_model