nightfury commited on
Commit
06521e0
β€’
1 Parent(s): 0222b1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -145,9 +145,7 @@ Given a grayscale photograph as input, this demo attacks the problem of hallucin
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,
@@ -162,7 +160,6 @@ mainBody = gr.Interface(
162
  [
163
  gr.components.Image(label="output")
164
  ],
165
- gr.HTML(css=css),
166
  #inputs="sketchpad",
167
  #outputs="label",
168
  theme="huggingface",
 
145
  """
146
 
147
  #with gr.Interface(css=css) as mainBody:
148
+ gr.HTML("""<style>""" + css+ """</Style>""")
 
 
149
 
150
  mainBody = gr.Interface(
151
  interface,
 
160
  [
161
  gr.components.Image(label="output")
162
  ],
 
163
  #inputs="sketchpad",
164
  #outputs="label",
165
  theme="huggingface",