Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -144,9 +144,11 @@ Given a grayscale photograph as input, this demo attacks the problem of hallucin
|
|
144 |
<center><img src='https://visitor-badge.glitch.me/badge?page_id=dj_colorization_eccv16siggraph17' alt='visitor badge'></center>
|
145 |
"""
|
146 |
|
147 |
-
|
148 |
-
|
149 |
-
|
|
|
|
|
150 |
mainBody = gr.Interface(
|
151 |
interface,
|
152 |
[
|
@@ -160,7 +162,7 @@ mainBody = gr.Interface(
|
|
160 |
[
|
161 |
gr.components.Image(label="output")
|
162 |
],
|
163 |
-
css=css,
|
164 |
#inputs="sketchpad",
|
165 |
#outputs="label",
|
166 |
theme="huggingface",
|
|
|
144 |
<center><img src='https://visitor-badge.glitch.me/badge?page_id=dj_colorization_eccv16siggraph17' alt='visitor badge'></center>
|
145 |
"""
|
146 |
|
147 |
+
#with gr.Interface(css=css) as mainBody:
|
148 |
+
gr.HTML("""<style>
|
149 |
+
{css}
|
150 |
+
</Style>""")
|
151 |
+
|
152 |
mainBody = gr.Interface(
|
153 |
interface,
|
154 |
[
|
|
|
162 |
[
|
163 |
gr.components.Image(label="output")
|
164 |
],
|
165 |
+
gr.html(css=css),
|
166 |
#inputs="sketchpad",
|
167 |
#outputs="label",
|
168 |
theme="huggingface",
|