DigiP-AI commited on
Commit
52a0732
Β·
verified Β·
1 Parent(s): b1d06cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -327,11 +327,8 @@ with gr.Blocks(theme=theme, css=css) as app:
327
  )
328
  with gr.Tab("Text to Image"):
329
 
 
330
  # gr.load("models/digiplay/AnalogMadness-realistic-model-v7")
331
- pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev")
332
- pipe.load_lora_weights("XLabs-AI/flux-RealismLora")
333
-
334
- prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
335
- image = pipe(prompt).images[0]
336
 
337
  app.launch(share=True)
 
327
  )
328
  with gr.Tab("Text to Image"):
329
 
330
+
331
  # gr.load("models/digiplay/AnalogMadness-realistic-model-v7")
332
+ gr.load("models/XLabs-AI/flux-RealismLora")
 
 
 
 
333
 
334
  app.launch(share=True)