euIaxs22 commited on
Commit
dff87bb
·
verified ·
1 Parent(s): 30a0766

Update app_vince.py

Browse files
Files changed (1) hide show
  1. app_vince.py +14 -12
app_vince.py CHANGED
@@ -129,6 +129,19 @@ with gr.Blocks(title="VINCIE 🎨") as demo:
129
  )
130
  )
131
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
 
133
  # Aba 1 — Multi-turn Editing
134
  with gr.Tab("Multi-turn Editing"):
@@ -159,18 +172,7 @@ with gr.Blocks(title="VINCIE 🎨") as demo:
159
  outputs=[out_gallery2],
160
  )
161
 
162
- # Opções Avançadas
163
- with gr.Accordion("Opções Avançadas", open=False):
164
- steps_input = gr.Slider(label="Passos de Inferência", minimum=10, maximum=100, step=1, value=50)
165
- cfg_scale_input = gr.Slider(label="Escala de Orientação (CFG)", minimum=1.0, maximum=15.0, step=0.5, value=7.5)
166
- aspect_ratio_input = gr.Dropdown(
167
- label="Aspect Ratio",
168
- choices=["keep_ratio", "1:1", "16:9", "9:16", "4:3", "3:4"],
169
- value="keep_ratio",
170
- )
171
- resolution_input = gr.Slider(label="Resolução (lado menor)", minimum=256, maximum=1024, step=64, value=512)
172
-
173
-
174
  if __name__ == "__main__":
175
  demo.launch(
176
  server_name=os.getenv("GRADIO_SERVER_NAME", "0.0.0.0"),
 
129
  )
130
  )
131
 
132
+ # Opções Avançadas
133
+ with gr.Accordion("Opções Avançadas", open=False):
134
+ steps_input = gr.Slider(label="Passos de Inferência", minimum=10, maximum=100, step=1, value=50)
135
+ cfg_scale_input = gr.Slider(label="Escala de Orientação (CFG)", minimum=1.0, maximum=15.0, step=0.5, value=7.5)
136
+ aspect_ratio_input = gr.Dropdown(
137
+ label="Aspect Ratio",
138
+ choices=["keep_ratio", "1:1", "16:9", "9:16", "4:3", "3:4"],
139
+ value="keep_ratio",
140
+ )
141
+ resolution_input = gr.Slider(label="Resolução (lado menor)", minimum=256, maximum=1024, step=64, value=512)
142
+
143
+
144
+
145
 
146
  # Aba 1 — Multi-turn Editing
147
  with gr.Tab("Multi-turn Editing"):
 
172
  outputs=[out_gallery2],
173
  )
174
 
175
+
 
 
 
 
 
 
 
 
 
 
 
176
  if __name__ == "__main__":
177
  demo.launch(
178
  server_name=os.getenv("GRADIO_SERVER_NAME", "0.0.0.0"),