Rooni commited on
Commit
7fcead6
·
1 Parent(s): f4fec5a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import requests
4
  # Базовые настройки
5
  prompt = gr.Textbox(label="Prompt")
6
  models = gr.Radio(
7
- ["Bard", "DALL-E 2", "VQGAN+CLIP", "VQGAN", "CLIP", "InceptionV3"],
8
  label="Model",
9
  )
10
 
@@ -21,7 +21,7 @@ seed = gr.Number(label="Seed", min=0, max=2**31, default=0)
21
 
22
  # Улучшение качества
23
  algorithm = gr.Radio(
24
- ["nearest", "bilinear", "bicubic", "lanczos", "cubic", "mitchell"], label="Algorithm"
25
  )
26
 
27
  # Функция генерации изображения
 
4
  # Базовые настройки
5
  prompt = gr.Textbox(label="Prompt")
6
  models = gr.Radio(
7
+ ["Bard", "DALL-E 2", "VQGAN+CLIP", "VQGAN", "CLIP", "InceptionV3", "VQGAN+CLIP-ViT-B16", "VQGAN+CLIP-ViT-B32", "VQGAN+CLIP-ViT-L", "VQGAN+CLIP-ViT-H", "VQGAN+CLIP-ViT-XL"],
8
  label="Model",
9
  )
10
 
 
21
 
22
  # Улучшение качества
23
  algorithm = gr.Radio(
24
+ ["nearest", "bilinear", "bicubic", "lanczos", "cubic", "mitchell", "bicubic_nn", "bicubic_nn_diff", "bicubic_nn_diff_v2"], label="Algorithm"
25
  )
26
 
27
  # Функция генерации изображения