Spaces:
Runtime error
Runtime error
Commit
•
442e0e4
1
Parent(s):
ac954ce
Update app.py
Browse files
app.py
CHANGED
@@ -149,7 +149,7 @@ with image_blocks as demo:
|
|
149 |
radio.change(fn=swap_word_mask, inputs=radio, outputs=word_mask)
|
150 |
radio.change(None, inputs=[], outputs=image_blocks, _js = """
|
151 |
() => {
|
152 |
-
css_style = document.styleSheets[
|
153 |
last_item = css_style.cssRules[css_style.cssRules.length - 1]
|
154 |
last_item.style.display = ["flex", ""].includes(last_item.style.display) ? "none" : "flex";
|
155 |
}""")
|
@@ -160,7 +160,7 @@ with image_blocks as demo:
|
|
160 |
gr.HTML(
|
161 |
"""
|
162 |
<div class="footer">
|
163 |
-
<p>Model by <a href="https://huggingface.co/CompVis" style="text-decoration: underline;" target="_blank">CompVis</a> and <a href="https://huggingface.co/stabilityai" style="text-decoration: underline;" target="_blank">Stability AI</a> - Inpainting by <a href="https://github.com/nagolinc" style="text-decoration: underline;" target="_blank">nagolinc</a> and <a href="https://github.com/patil-suraj">patil-suraj</a>, inpainting with words by <a href="https://twitter.com/yvrjsharma/" style="text-decoration: underline;" target="_blank">@yvrjsharma</a> and <a href="https://twitter.com/1littlecoder">@1littlecoder</a> - Gradio Demo by 🤗 Hugging Face
|
164 |
</p>
|
165 |
</div>
|
166 |
<div class="acknowledgments">
|
|
|
149 |
radio.change(fn=swap_word_mask, inputs=radio, outputs=word_mask)
|
150 |
radio.change(None, inputs=[], outputs=image_blocks, _js = """
|
151 |
() => {
|
152 |
+
css_style = document.styleSheets[document.styleSheets.length - 1]
|
153 |
last_item = css_style.cssRules[css_style.cssRules.length - 1]
|
154 |
last_item.style.display = ["flex", ""].includes(last_item.style.display) ? "none" : "flex";
|
155 |
}""")
|
|
|
160 |
gr.HTML(
|
161 |
"""
|
162 |
<div class="footer">
|
163 |
+
<p>Model by <a href="https://huggingface.co/CompVis" style="text-decoration: underline;" target="_blank">CompVis</a> and <a href="https://huggingface.co/stabilityai" style="text-decoration: underline;" target="_blank">Stability AI</a> - Inpainting by <a href="https://github.com/nagolinc" style="text-decoration: underline;" target="_blank">nagolinc</a> and <a href="https://github.com/patil-suraj" style="text-decoration: underline;">patil-suraj</a>, inpainting with words by <a href="https://twitter.com/yvrjsharma/" style="text-decoration: underline;" target="_blank">@yvrjsharma</a> and <a href="https://twitter.com/1littlecoder" style="text-decoration: underline;">@1littlecoder</a> - Gradio Demo by 🤗 Hugging Face
|
164 |
</p>
|
165 |
</div>
|
166 |
<div class="acknowledgments">
|