Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def process_speech_using_model(sound):
77
  return text_out
78
 
79
 
80
- def process_image(image) :
81
  img_name = f"{np.random.randint(0, 100)}.jpg"
82
  PIL.Image.fromarray(image.astype('uint8'), 'RGB').save(img_name)
83
  image = open(img_name, "rb").read()
 
77
  return text_out
78
 
79
 
80
+ def process_image_with_openai(image) :
81
  img_name = f"{np.random.randint(0, 100)}.jpg"
82
  PIL.Image.fromarray(image.astype('uint8'), 'RGB').save(img_name)
83
  image = open(img_name, "rb").read()