skyBluezz commited on
Commit
0dd8e54
·
verified ·
1 Parent(s): 9d371b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -8
app.py CHANGED
@@ -8,7 +8,6 @@ import numpy as np
8
  import torch
9
  from diffusers.pipelines.controlnet import StableDiffusionControlNetInpaintPipeline
10
  from diffusers import ControlNetModel, UniPCMultistepScheduler, AutoPipelineForText2Image
11
- # from transformers import AutoImageProcessor, UperNetForSemanticSegmentation, AutoModelForDepthEstimation
12
  from transformers import AutoImageProcessor, UperNetForSemanticSegmentation, \
13
  AutoModelForDepthEstimation, DetrForObjectDetection, DetrImageProcessor
14
  from colors import ade_palette
@@ -397,18 +396,14 @@ def main():
397
  model = ControlNetDepthDesignModelMulti()
398
  print('Models uploaded successfully')
399
 
400
- title = "# StableDesign"
401
- description = """
402
- <p style='font-size: 14px; margin-bottom: 10px;'><a href='https://www.linkedin.com/in/mykola-lavreniuk/'>Mykola Lavreniuk</a>, <a href='https://www.linkedin.com/in/bartosz-ludwiczuk-a677a760/'>Bartosz Ludwiczuk</a></p>
403
- <p style='font-size: 16px; margin-bottom: 0px; margin-top=0px;'>Official demo for <strong>StableDesign:</strong> 2nd place solution for the Generative Interior Design 2024 <a href='https://www.aicrowd.com/challenges/generative-interior-design-challenge-2024/leaderboards?challenge_round_id=1314'>competition</a>. StableDesign is a deep learning model designed to harness the power of AI, providing innovative and creative tools for designers. Using our algorithms, images of empty rooms can be transformed into fully furnished spaces based on text descriptions. Please refer to our <a href='https://github.com/Lavreniuk/generative-interior-design'>GitHub</a> for more details.</p>
404
- """
405
  with gr.Blocks() as demo:
406
  gr.Markdown(title)
407
  gr.Markdown(description)
408
 
409
  create_demo(model)
410
- gr.HTML('''<br><br><br><center>You can duplicate this Space to skip the queue:<a href="https://huggingface.co/spaces/MykolaL/StableDesign?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a><br>
411
- <p><img src="https://visitor-badge.glitch.me/badge?page_id=MykolaL/StableDesign" alt="visitors"></p></center>''')
412
 
413
  demo.queue().launch(share=False)
414
 
 
8
  import torch
9
  from diffusers.pipelines.controlnet import StableDiffusionControlNetInpaintPipeline
10
  from diffusers import ControlNetModel, UniPCMultistepScheduler, AutoPipelineForText2Image
 
11
  from transformers import AutoImageProcessor, UperNetForSemanticSegmentation, \
12
  AutoModelForDepthEstimation, DetrForObjectDetection, DetrImageProcessor
13
  from colors import ade_palette
 
396
  model = ControlNetDepthDesignModelMulti()
397
  print('Models uploaded successfully')
398
 
399
+ title = "# pi31415e2718"
400
+ description = """ Broken Code """
 
 
 
401
  with gr.Blocks() as demo:
402
  gr.Markdown(title)
403
  gr.Markdown(description)
404
 
405
  create_demo(model)
406
+ gr.HTML(''' ''')
 
407
 
408
  demo.queue().launch(share=False)
409