Doron Adler commited on
Commit
4b36a0b
1 Parent(s): 69f6a0e

allow_flagging=False

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,4 +89,4 @@ description = "Turn a face into the face of a \"Comics hero\". Upload an image w
89
  article = "<hr><p style='text-align: center'>See the <a href='https://github.com/justinpinkney/pixel2style2pixel/tree/nw' target='_blank'>Github Repo</a></p><p style='text-align: center'>samples: <img src='https://hf.space/gradioiframe/Norod78/ComicsHeroHD/file/Sample00001.jpg' alt='Sample00001'/><img src='https://hf.space/gradioiframe/Norod78/ComicsHeroHD/file/Sample00002.jpg' alt='Sample00002'/><img src='https://hf.space/gradioiframe/Norod78/ComicsHeroHD/file/Sample00003.jpg' alt='Sample00003'/><img src='https://hf.space/gradioiframe/Norod78/ComicsHeroHD/file/Sample00004.jpg' alt='Sample00004'/><img src='https://hf.space/gradioiframe/Norod78/ComicsHeroHD/file/Sample00005.jpg' alt='Sample00005'/></p><p>The \"Comics Hero HD\" model was fine tuned on a pre-trained Pixel2Style2Pixel model by <a href='https://linktr.ee/Norod78' target='_blank'>Doron Adler</a></p>"
90
 
91
  examples=[['Example00001.jpg'],['Example00002.jpg'],['Example00003.jpg'],['Example00004.jpg'],['Example00005.jpg'], ['Example00006.jpg']]
92
- gr.Interface(inference, gr.inputs.Image(type="pil",shape=(1024,1024)), gr.outputs.Image(type="pil"),title=title,description=description,article=article,examples=examples,enable_queue=True).launch()
 
89
  article = "<hr><p style='text-align: center'>See the <a href='https://github.com/justinpinkney/pixel2style2pixel/tree/nw' target='_blank'>Github Repo</a></p><p style='text-align: center'>samples: <img src='https://hf.space/gradioiframe/Norod78/ComicsHeroHD/file/Sample00001.jpg' alt='Sample00001'/><img src='https://hf.space/gradioiframe/Norod78/ComicsHeroHD/file/Sample00002.jpg' alt='Sample00002'/><img src='https://hf.space/gradioiframe/Norod78/ComicsHeroHD/file/Sample00003.jpg' alt='Sample00003'/><img src='https://hf.space/gradioiframe/Norod78/ComicsHeroHD/file/Sample00004.jpg' alt='Sample00004'/><img src='https://hf.space/gradioiframe/Norod78/ComicsHeroHD/file/Sample00005.jpg' alt='Sample00005'/></p><p>The \"Comics Hero HD\" model was fine tuned on a pre-trained Pixel2Style2Pixel model by <a href='https://linktr.ee/Norod78' target='_blank'>Doron Adler</a></p>"
90
 
91
  examples=[['Example00001.jpg'],['Example00002.jpg'],['Example00003.jpg'],['Example00004.jpg'],['Example00005.jpg'], ['Example00006.jpg']]
92
+ gr.Interface(inference, gr.inputs.Image(type="pil",shape=(1024,1024)), gr.outputs.Image(type="pil"),title=title,description=description,article=article,examples=examples,enable_queue=True,allow_flagging=False).launch()