nftnik commited on
Commit
ebc49ac
·
verified ·
1 Parent(s): 0c0098b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -15
app.py CHANGED
@@ -70,7 +70,6 @@ def download_models():
70
  continue
71
 
72
  # 8. Download e Inicialização dos Modelos
73
- print("Baixando modelos...")
74
  download_models()
75
 
76
  print("Inicializando modelos...")
@@ -257,21 +256,9 @@ with gr.Blocks() as app:
257
 
258
  generate_btn.click(
259
  fn=generate_image,
260
- inputs=[
261
- prompt_input,
262
- input_image,
263
- lora_weight,
264
- guidance,
265
- downsampling_factor,
266
- weight,
267
- seed,
268
- width,
269
- height,
270
- batch_size,
271
- steps
272
- ],
273
  outputs=[output_image]
274
  )
275
 
276
  if __name__ == "__main__":
277
- app.launch(share=True)
 
70
  continue
71
 
72
  # 8. Download e Inicialização dos Modelos
 
73
  download_models()
74
 
75
  print("Inicializando modelos...")
 
256
 
257
  generate_btn.click(
258
  fn=generate_image,
259
+ inputs=[prompt_input, input_image, lora_weight, guidance, downsampling_factor, weight, seed, width, height, batch_size, steps],
 
 
 
 
 
 
 
 
 
 
 
 
260
  outputs=[output_image]
261
  )
262
 
263
  if __name__ == "__main__":
264
+ app.launch()