getapi commited on
Commit
c627ca5
1 Parent(s): ca30dd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -279,7 +279,7 @@ async def optimize_and_upload(images_urls: List[str] | str, convert: bool = Fals
279
  images_urls = [images_urls] if isinstance(images_urls, str) else images_urls
280
  if convert:
281
  try:
282
- ph_link = tgph_create_page(tgph_acc.get_token(), 'DAll-E v3', '*изображения скоро появятся, обнови страницу...*')
283
  except Exception as e:
284
  print(f'не получилось создать страницу на телеграфе: {e}')
285
  ph_link = None
 
279
  images_urls = [images_urls] if isinstance(images_urls, str) else images_urls
280
  if convert:
281
  try:
282
+ ph_link = await tgph_create_page(tgph_acc.get_token(), 'DAll-E v3', '*изображения скоро появятся, обнови страницу...*')
283
  except Exception as e:
284
  print(f'не получилось создать страницу на телеграфе: {e}')
285
  ph_link = None