akhaliq HF staff commited on
Commit
86694d5
1 Parent(s): 3debd0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -11
app.py CHANGED
@@ -144,20 +144,21 @@ with block:
144
  gr.Markdown("Gradio Demo for ArcaneGAN, portrait to Arcane style. To use it, simply upload your image. Try out the different versions by clicking on the tabs. Please use a cropped portrait picture for best results.")
145
 
146
  with gr.Tab("version four"):
147
- gr.outputs.HTML("""<h2 id="arcanegan-v0-4">ArcaneGAN v0.4</h2>
148
- <p>The main differences are: </p>
149
- <ul>
150
- <li>lighter styling (closer to original input)</li>
151
- <li>sharper result</li>
152
- <li>happier faces </li>
153
- <li>reduced childish eyes effect</li>
154
- <li>reduced stubble on feminine faces </li>
155
- <li>increased temporal stability on videos</li>
156
- <li>reduced mouth\teeth artifacts</li>
157
- </ul>""")
158
  with gr.Row():
159
  facepaint4 = gr.inputs.Image(type="pil",shape=(512,512))
160
  faceout4 = gr.outputs.Image(type="pil")
 
 
 
 
 
 
 
 
 
 
 
161
  face_run = gr.Button("Run")
162
  face_run.click(version4, inputs=facepaint4, outputs=faceout4)
163
 
 
144
  gr.Markdown("Gradio Demo for ArcaneGAN, portrait to Arcane style. To use it, simply upload your image. Try out the different versions by clicking on the tabs. Please use a cropped portrait picture for best results.")
145
 
146
  with gr.Tab("version four"):
147
+
 
 
 
 
 
 
 
 
 
 
148
  with gr.Row():
149
  facepaint4 = gr.inputs.Image(type="pil",shape=(512,512))
150
  faceout4 = gr.outputs.Image(type="pil")
151
+ gr.outputs.HTML("""<h2 id="arcanegan-v0-4">ArcaneGAN v0.4</h2>
152
+ <p>The main differences are: </p>
153
+ <ul>
154
+ <li>lighter styling (closer to original input)</li>
155
+ <li>sharper result</li>
156
+ <li>happier faces </li>
157
+ <li>reduced childish eyes effect</li>
158
+ <li>reduced stubble on feminine faces </li>
159
+ <li>increased temporal stability on videos</li>
160
+ <li>reduced mouth\teeth artifacts</li>
161
+ </ul>""")
162
  face_run = gr.Button("Run")
163
  face_run.click(version4, inputs=facepaint4, outputs=faceout4)
164