nightfury commited on
Commit
5551a41
β€’
1 Parent(s): 2690ff3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
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
- mainBody = gr.Blocks(css=css)
148
- #with gr.Blocks(css=".gradio-container {background-color: red}") as demo:
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",