aleksfinn23 commited on
Commit
db37ff6
·
verified ·
1 Parent(s): b1301a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -58,16 +58,15 @@ examples = [
58
  "an anime illustration of Steve Jobs",
59
  "Create image of Modern house in minecraft style",
60
  "photo of a woman on the beach, shot from above. She is facing the sea, while wearing a white dress. She has long blonde hair",
61
- "Selfie photo of a wizard with long beard and purple robes, he is apparently in the middle of Tokyo. Probably taken from a phone.",
62
- "Photo of a young woman with long, wavy brown hair tied in a bun and glasses. She has a fair complexion and is wearing subtle makeup, emphasizing her eyes and lips. She is dressed in a black top. The background appears to be an urban setting with a building facade, and the sunlight casts a warm glow on her face.",
63
  ]
64
 
65
  # --- Gradio UI ---
66
  with gr.Blocks() as demo:
67
  with gr.Column(elem_id="app-container"):
68
- gr.Markdown("# 🎨 Realtime FLUX Image Generator")
69
- gr.Markdown("Generate stunning images in real-time with Modified Flux.Schnell pipeline.")
70
- gr.Markdown("<span style='color: red;'>Note: Sometimes it stucks or stops generating images (I don't know why). In that situation just refresh the site.</span>")
71
 
72
  with gr.Row():
73
  with gr.Column(scale=2.5):
@@ -75,13 +74,13 @@ with gr.Blocks() as demo:
75
  with gr.Column(scale=1):
76
  prompt = gr.Text(
77
  label="Prompt",
78
- placeholder="Describe the image you want to generate...",
79
  lines=3,
80
  show_label=False,
81
  container=False,
82
  )
83
- generateBtn = gr.Button("🖼️ Generate Image")
84
- enhanceBtn = gr.Button("🚀 Enhance Image")
85
 
86
  with gr.Column("Advanced Options"):
87
  with gr.Row():
 
58
  "an anime illustration of Steve Jobs",
59
  "Create image of Modern house in minecraft style",
60
  "photo of a woman on the beach, shot from above. She is facing the sea, while wearing a white dress. She has long blonde hair",
61
+
 
62
  ]
63
 
64
  # --- Gradio UI ---
65
  with gr.Blocks() as demo:
66
  with gr.Column(elem_id="app-container"):
67
+ gr.Markdown("# 🎨 FLUX модель генерации изображений")
68
+ gr.Markdown("Генерирует изображения в реальном времени")
69
+ gr.Markdown("<span style='color: red;'>Внимание: запросы к модели лучше делать на английском языке (можно пользоваться переводчиком). Поддержка русского языка будет добавлена позднее.</span>")
70
 
71
  with gr.Row():
72
  with gr.Column(scale=2.5):
 
74
  with gr.Column(scale=1):
75
  prompt = gr.Text(
76
  label="Prompt",
77
+ placeholder="Опишите желаемое изображение (на английском языке)...",
78
  lines=3,
79
  show_label=False,
80
  container=False,
81
  )
82
+ generateBtn = gr.Button("🖼️ Сгенерировать изображение")
83
+ enhanceBtn = gr.Button("🚀 Усилить изображение")
84
 
85
  with gr.Column("Advanced Options"):
86
  with gr.Row():