Rooni commited on
Commit
fea607d
·
1 Parent(s): 87f1c29

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ emojis = ['😊', '🤗', '🥺', '😅', '🤭']
19
  def ask_openai_with_image(instruction, image):
20
  if not instruction and not image:
21
  emj = random.choice(emojis)
22
- raise = gr.Error(f"Заполните пожалуйста хотя бы 1 поле {emj}")
23
  return None
24
  if image != None:
25
  # Кодируем загруженное изображение в base64
 
19
  def ask_openai_with_image(instruction, image):
20
  if not instruction and not image:
21
  emj = random.choice(emojis)
22
+ raise gr.Error(f"Заполните пожалуйста хотя бы 1 поле {emj}")
23
  return None
24
  if image != None:
25
  # Кодируем загруженное изображение в base64