akhaliq HF staff commited on
Commit
86b157b
·
1 Parent(s): 352f3ef

add title and description

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -178,6 +178,8 @@ def inference(num_of_image,seed,trunc_psi,eyebrows,eyesize,gaze_direction,nose_l
178
  images_mani = postprocess_image(to_numpy(images_mani))
179
  return imshow(images_mani, col=images_mani.shape[0])
180
 
 
 
181
  gr.Interface(inference,[gr.Slider(1, 3, value=1,label="num_of_image",step=1),
182
  gr.Slider(0, 10000, value=210,label="seed",step=1),
183
  gr.Slider(0, 1, value=0.7,step=0.1,label="truncation psi"),
 
178
  images_mani = postprocess_image(to_numpy(images_mani))
179
  return imshow(images_mani, col=images_mani.shape[0])
180
 
181
+ title = "resefa"
182
+ description = "## Gradio Demo for [Region-Based Semantic Factorization in GANs](https://github.com/zhujiapeng/resefa)"
183
  gr.Interface(inference,[gr.Slider(1, 3, value=1,label="num_of_image",step=1),
184
  gr.Slider(0, 10000, value=210,label="seed",step=1),
185
  gr.Slider(0, 1, value=0.7,step=0.1,label="truncation psi"),