Spaces:
Runtime error
Runtime error
bram-w
commited on
Commit
·
0eaa580
1
Parent(s):
2652bae
description
Browse files
app.py
CHANGED
|
@@ -94,7 +94,7 @@ for dog_i in [1, 2]:
|
|
| 94 |
|
| 95 |
|
| 96 |
description = 'A gradio demo for [EDICT](https://arxiv.org/abs/2211.12446, CVPR23)'
|
| 97 |
-
description = gr.Markdown(description)
|
| 98 |
|
| 99 |
article = """
|
| 100 |
|
|
@@ -119,7 +119,7 @@ As with most StableDiffusion approaches, faces/text are often problematic to ren
|
|
| 119 |
A returned black image means that the [Safety Checker](https://huggingface.co/CompVis/stable-diffusion-safety-checker) triggered on the photo. This happens in odd cases sometimes (it often rejects
|
| 120 |
the huggingface logo or variations), but we need to keep it in for obvious reasons.
|
| 121 |
"""
|
| 122 |
-
article = gr.Markdown(description)
|
| 123 |
|
| 124 |
iface = gr.Interface(fn=edict, inputs=["image",
|
| 125 |
gr.Textbox(label="Original Description"),
|
|
|
|
| 94 |
|
| 95 |
|
| 96 |
description = 'A gradio demo for [EDICT](https://arxiv.org/abs/2211.12446, CVPR23)'
|
| 97 |
+
# description = gr.Markdown(description)
|
| 98 |
|
| 99 |
article = """
|
| 100 |
|
|
|
|
| 119 |
A returned black image means that the [Safety Checker](https://huggingface.co/CompVis/stable-diffusion-safety-checker) triggered on the photo. This happens in odd cases sometimes (it often rejects
|
| 120 |
the huggingface logo or variations), but we need to keep it in for obvious reasons.
|
| 121 |
"""
|
| 122 |
+
# article = gr.Markdown(description)
|
| 123 |
|
| 124 |
iface = gr.Interface(fn=edict, inputs=["image",
|
| 125 |
gr.Textbox(label="Original Description"),
|