akhaliq HF staff commited on
Commit
a8e3ada
1 Parent(s): 76063e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,7 +4,7 @@ import paddlehub as hub
4
  from PIL import Image
5
  import numpy as np
6
 
7
- model = hub.Module(name='animegan_v2_paprika_97', use_gpu=False)
8
 
9
 
10
  def inference(img):
@@ -12,7 +12,7 @@ def inference(img):
12
  return result[0][:,:,::-1]
13
 
14
 
15
- title="animegan_v2_paprika_97"
16
  description="AnimeGAN V2 image style conversion model, the model can convert the input image into the red pepper anime style, and the model weights are converted from the AnimeGAN V2 official open source project ."
17
 
18
  examples=[['city.jpeg']]
 
4
  from PIL import Image
5
  import numpy as np
6
 
7
+ model = hub.Module(name='animegan_v2_paprika_98', use_gpu=False)
8
 
9
 
10
  def inference(img):
 
12
  return result[0][:,:,::-1]
13
 
14
 
15
+ title="animegan_v2_paprika_98"
16
  description="AnimeGAN V2 image style conversion model, the model can convert the input image into the red pepper anime style, and the model weights are converted from the AnimeGAN V2 official open source project ."
17
 
18
  examples=[['city.jpeg']]