DrHakase commited on
Commit
b943b12
·
1 Parent(s): 70c3fc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -278,7 +278,7 @@ def gen_video2(self, w1, w2, noise, path, frame_num=10):
278
  for i in range(frame_num, 0, -1):
279
  img = self.get_img(((1 - lin[i]) * w1) + (lin[i] * w2), noise)
280
  video.append_data(img)
281
- video.close()
282
 
283
 
284
  def gen_video_fn(w1, w2, noise, frame):
@@ -295,7 +295,7 @@ if __name__ == '__main__':
295
  app = gr.Blocks()
296
  with app:
297
  gr.Markdown("# full-body anime GAN fork from [skytnt](https://huggingface.co/spaces/skytnt/full-body-anime-gan)\n\n"
298
- "![visitor badge](https://visitor-badge.glitch.me/badge?page_id=skytnt.full-body-anime-gan)\ntransformを使った画像生成とブレンドです(text2image, Stable Diffusionではありません)\n")
299
  with gr.Tabs():
300
  with gr.TabItem("generate image 新規画像生成"):
301
  with gr.Row():
 
278
  for i in range(frame_num, 0, -1):
279
  img = self.get_img(((1 - lin[i]) * w1) + (lin[i] * w2), noise)
280
  video.append_data(img)
281
+ video.close()
282
 
283
 
284
  def gen_video_fn(w1, w2, noise, frame):
 
295
  app = gr.Blocks()
296
  with app:
297
  gr.Markdown("# full-body anime GAN fork from [skytnt](https://huggingface.co/spaces/skytnt/full-body-anime-gan)\n\n"
298
+ "![visitor badge](https://visitor-badge.glitch.me/badge?page_id=o_ob.hf.full-body-anime-gan)\ntransformを使った画像生成とブレンドです(text2image, Stable Diffusionではありません)\n動画をA→B→Aというパターンで作ります\n")
299
  with gr.Tabs():
300
  with gr.TabItem("generate image 新規画像生成"):
301
  with gr.Row():