Ahsen Khaliq commited on
Commit
3bf33bf
·
1 Parent(s): 708a7df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -10,7 +10,6 @@ from PIL import Image
10
  import gradio as gr
11
 
12
 
13
- os.system("pip install timm==0.4.5")
14
  os.system("git clone https://github.com/facebookresearch/mae.git")
15
  sys.path.append('./mae')
16
 
@@ -111,4 +110,4 @@ description = "Gradio Demo for MAE. To use it, simply upload your image, or clic
111
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2112.11641' target='_blank'>JoJoGAN: One Shot Face Stylization</a>| <a href='https://github.com/mchong6/JoJoGAN' target='_blank'>Github Repo Pytorch</a></p> <center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_jojogan' alt='visitor badge'></center>"
112
 
113
 
114
- gr.Interface(inference, [gr.inputs.Image(type="pil")], gr.outputs.Image(type="plot"),title=title,description=description,article=article,allow_flagging=False,examples=examples,allow_screenshot=False,enable_queue=True).launch()
 
10
  import gradio as gr
11
 
12
 
 
13
  os.system("git clone https://github.com/facebookresearch/mae.git")
14
  sys.path.append('./mae')
15
 
 
110
  article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2112.11641' target='_blank'>JoJoGAN: One Shot Face Stylization</a>| <a href='https://github.com/mchong6/JoJoGAN' target='_blank'>Github Repo Pytorch</a></p> <center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_jojogan' alt='visitor badge'></center>"
111
 
112
 
113
+ gr.Interface(inference, [gr.inputs.Image(type="pil")], gr.outputs.Image(type="plot"),title=title,description=description,article=article,allow_flagging=False,allow_screenshot=False,enable_queue=True).launch()