nsfwalex commited on
Commit
5f37bc6
1 Parent(s): fb68648

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -174,7 +174,7 @@ function onDemoLoad(){
174
  }
175
  </script>
176
  '''
177
- desc='''
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
- html = gr.HTML(value=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
 
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