Rooni commited on
Commit
c4b8c90
·
1 Parent(s): 8f6a809

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -14
app.py CHANGED
@@ -56,20 +56,9 @@ def main():
56
  interface = gr.Interface(
57
  generate_image,
58
  [
59
- gr.Tab("Базовые настройки", [
60
- {"prompt": prompt},
61
- {"models": models},
62
- ]),
63
- gr.Tab("Расширенные настройки", [
64
- {"negative_prompt": negative_prompt},
65
- {"sampling_method": sampling_method},
66
- {"sampling_steps": sampling_steps},
67
- {"cfg_scale": cfg_scale},
68
- {"seed": seed},
69
- ]),
70
- gr.Tab("Улучшение качества", [
71
- {"algorithm": algorithm},
72
- ]),
73
  ],
74
  outputs=gr.Image(),
75
  title="Gradio Image Generator",
 
56
  interface = gr.Interface(
57
  generate_image,
58
  [
59
+ {"name": "Базовые настройки", "components": [prompt, models]},
60
+ {"name": "Расширенные настройки", "components": [negative_prompt, sampling_method, sampling_steps, cfg_scale, seed]},
61
+ {"name": "Улучшение качества", "components": [algorithm]},
 
 
 
 
 
 
 
 
 
 
 
62
  ],
63
  outputs=gr.Image(),
64
  title="Gradio Image Generator",