BATUTO-ART commited on
Commit
74e68b0
·
verified ·
1 Parent(s): 2d60bab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -1,6 +1,8 @@
1
  import random
2
  import gradio as gr
3
- from data import fashion_elements, PhotoReal, negative_prompt_fusion
 
 
4
 
5
  class FashionPromptGenerator:
6
  def __init__(self):
@@ -88,7 +90,7 @@ custom_css = """
88
  def create_gradio_interface():
89
  generator = FashionPromptGenerator()
90
 
91
- with gr.Blocks() as demo:
92
  gr.Markdown("""
93
  # 🎭 Advanced Fashion Prompt Generator
94
  *Create photorealistic, discovery-focused prompts with a single, powerful style.*
@@ -178,5 +180,4 @@ def create_gradio_interface():
178
 
179
  if __name__ == "__main__":
180
  demo = create_gradio_interface()
181
- demo.launch(share=True, css=custom_css)
182
-
 
1
  import random
2
  import gradio as gr
3
+ from data import fashion_elements, PhotoReal
4
+
5
+ negative_prompt_fusion = "blurry, deformed, ugly, mutilated, disfigured, extra limbs, extra fingers, poorly drawn hands, poorly drawn feet, mutated hands, mutation, deformed, bad anatomy, bad proportions, extra arms, extra legs, fused fingers, too many fingers, long neck, username, watermark, signature, overexposed, underexposed, bad lighting, distorted face, low quality, artifacts"
6
 
7
  class FashionPromptGenerator:
8
  def __init__(self):
 
90
  def create_gradio_interface():
91
  generator = FashionPromptGenerator()
92
 
93
+ with gr.Blocks(css=custom_css) as demo:
94
  gr.Markdown("""
95
  # 🎭 Advanced Fashion Prompt Generator
96
  *Create photorealistic, discovery-focused prompts with a single, powerful style.*
 
180
 
181
  if __name__ == "__main__":
182
  demo = create_gradio_interface()
183
+ demo.launch(share=True)