Update app.py
Browse files
app.py
CHANGED
@@ -174,7 +174,7 @@ function onDemoLoad(){
|
|
174 |
}
|
175 |
</script>
|
176 |
'''
|
177 |
-
|
178 |
<div style="background-color: #f0f0f0; padding: 10px; border-radius: 5px; text-align: center; margin-top: 20px;">
|
179 |
<p style="font-size: 16px; color: #333;">
|
180 |
For the full version and more exciting NSFW AI apps, visit
|
@@ -227,7 +227,7 @@ def generate(prompt, progress=gr.Progress(track_tqdm=True)):
|
|
227 |
with gr.Blocks(css=css,head=js,fill_height=True) as demo:
|
228 |
with gr.Row(equal_height=False):
|
229 |
with gr.Group():
|
230 |
-
|
231 |
result = gr.Gallery(
|
232 |
label="Result", show_label=False, columns=1, rows=1, show_share_button=True,
|
233 |
show_download_button=True,allow_preview=True,interactive=False, min_width=cfg.get("window_min_width", 340),height=360
|
|
|
174 |
}
|
175 |
</script>
|
176 |
'''
|
177 |
+
desc_html='''
|
178 |
<div style="background-color: #f0f0f0; padding: 10px; border-radius: 5px; text-align: center; margin-top: 20px;">
|
179 |
<p style="font-size: 16px; color: #333;">
|
180 |
For the full version and more exciting NSFW AI apps, visit
|
|
|
227 |
with gr.Blocks(css=css,head=js,fill_height=True) as demo:
|
228 |
with gr.Row(equal_height=False):
|
229 |
with gr.Group():
|
230 |
+
gr.HTML(value=desc_html, elem_id='desc_html_code')
|
231 |
result = gr.Gallery(
|
232 |
label="Result", show_label=False, columns=1, rows=1, show_share_button=True,
|
233 |
show_download_button=True,allow_preview=True,interactive=False, min_width=cfg.get("window_min_width", 340),height=360
|