Aklavya commited on
Commit
e6c6224
·
verified ·
1 Parent(s): 8a40f1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -2
app.py CHANGED
@@ -90,6 +90,18 @@ with gr.Blocks(theme="soft") as demo:
90
  )
91
  run_button = gr.Button("Generate Image")
92
  gr.Markdown("Developed using the RealVisXL_V5.0_Lightning model.", elem_id="model_info")
 
 
 
 
 
 
 
 
 
 
 
 
93
  with gr.Column(scale=7):
94
  result_image = gr.Image(label="Generated Image", type="filepath")
95
 
@@ -107,8 +119,8 @@ with gr.Blocks(theme="soft") as demo:
107
  left: 0;
108
  bottom: 0;
109
  width: 100%;
110
- background-color: white;
111
- color: black;
112
  text-align: center;
113
  }
114
  </style>
 
90
  )
91
  run_button = gr.Button("Generate Image")
92
  gr.Markdown("Developed using the RealVisXL_V5.0_Lightning model.", elem_id="model_info")
93
+
94
+ # Example prompts box
95
+ gr.Markdown("<h3 style='text-align:center;'>Sample Inputs</h3>")
96
+ example_prompts = gr.Textbox(
97
+ value="1. A photorealistic image of a futuristic cityscape at sunset.\n"
98
+ "2. A highly detailed 8K portrait of a knight in shining armor.\n"
99
+ "3. An ultra-detailed depiction of a magical forest with glowing plants.\n"
100
+ "4. A hyper-realistic image of a space station orbiting Earth.",
101
+ lines=5,
102
+ label="",
103
+ interactive=False,
104
+ )
105
  with gr.Column(scale=7):
106
  result_image = gr.Image(label="Generated Image", type="filepath")
107
 
 
119
  left: 0;
120
  bottom: 0;
121
  width: 100%;
122
+ background-color: #0B0F19;
123
+ color: white;
124
  text-align: center;
125
  }
126
  </style>