lunarfish commited on
Commit
97fdfdb
·
1 Parent(s): aeb398a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -33
app.py CHANGED
@@ -28,28 +28,6 @@ examples = [
28
  ]
29
 
30
  with block as demo:
31
- gr.HTML(
32
- """
33
- <div style="text-align: center; max-width: 650px; margin: 0 auto;">
34
- <div
35
- style="
36
- display: inline-flex;
37
- align-items: center;
38
- gap: 0.8rem;
39
- font-size: 1.75rem;
40
- "
41
- >
42
- <h1 style="font-weight: 900; margin-bottom: 7px;">
43
- Furry Diffusion Demo
44
- </h1>
45
- </div>
46
- <p style="margin-bottom: 10px; font-size: 94%">
47
- Furry Diffusion is a latent text-to-image diffusion model that has been conditioned on high-quality furry images through fine-tuning
48
- </p>
49
- </div>
50
- """
51
- )
52
- gr.HTML("<p>You can skip the queue by duplicating this space: <a style='display:inline-block' href='https://huggingface.co/spaces/lunarfish/furrydiffusion?duplicate=true'><img src='https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14' alt='Duplicate Space'></a></p>")
53
  with gr.Group():
54
  with gr.Box():
55
  with gr.Row().style(mobile_collapse=False, equal_height=True):
@@ -75,15 +53,4 @@ with block as demo:
75
 
76
  text.submit(infer, inputs=[text], outputs=gallery)
77
  btn.click(infer, inputs=[text], outputs=gallery)
78
-
79
- gr.HTML(
80
- """
81
- <div class="acknowledgments">
82
- <p><h4>LICENSE</h4>
83
- The model is licensed with a <a href="https://huggingface.co/spaces/CompVis/stable-diffusion-license" style="text-decoration: underline;" target="_blank">CreativeML Open RAIL-M</a> license. The authors claim no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in this license. The license forbids you from sharing any content that violates any laws, produce any harm to a person, disseminate any personal information that would be meant for harm, spread misinformation and target vulnerable groups. For the full list of restrictions please <a href="https://huggingface.co/spaces/CompVis/stable-diffusion-license" target="_blank" style="text-decoration: underline;" target="_blank">read the license</a></p>
84
- <p><h4>Biases and content acknowledgment</h4>
85
- Despite how impressive being able to turn text into image is, beware to the fact that this model may output content that reinforces or exacerbates societal biases, as well as realistic faces, pornography and violence. The model was trained on the <a href="https://laion.ai/blog/laion-5b/" style="text-decoration: underline;" target="_blank">LAION-5B dataset</a>, which scraped non-curated image-text-pairs from the internet (the exception being the removal of illegal content) and is meant for research purposes. You can read more in the <a href="https://huggingface.co/CompVis/stable-diffusion-v1-4" style="text-decoration: underline;" target="_blank">model card</a></p>
86
- </div>
87
- """
88
- )
89
  demo.queue(max_size=25).launch()
 
28
  ]
29
 
30
  with block as demo:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  with gr.Group():
32
  with gr.Box():
33
  with gr.Row().style(mobile_collapse=False, equal_height=True):
 
53
 
54
  text.submit(infer, inputs=[text], outputs=gallery)
55
  btn.click(infer, inputs=[text], outputs=gallery)
 
 
 
 
 
 
 
 
 
 
 
56
  demo.queue(max_size=25).launch()