akhaliq HF staff commited on
Commit
00229b7
1 Parent(s): 1f53fce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,5 +1,4 @@
1
  import os
2
- os.system("pip install gradio==2.7.5.2")
3
  os.system("git clone https://github.com/google-research/frame-interpolation")
4
  import sys
5
  sys.path.append("frame-interpolation")
@@ -63,4 +62,4 @@ title="frame-interpolation"
63
  description="Gradio demo for FILM: Frame Interpolation for Large Scene Motion. To use it, simply upload your images and add the times to interpolate number or click on one of the examples to load them. Read more at the links below."
64
  article = "<p style='text-align: center'><a href='https://film-net.github.io/' target='_blank'>FILM: Frame Interpolation for Large Motion</a> | <a href='https://github.com/google-research/frame-interpolation' target='_blank'>Github Repo</a></p>"
65
  examples=[['cat3.jpeg','cat4.jpeg',2]]
66
- gr.Interface(predict,[gr.inputs.Image(type='filepath'),gr.inputs.Image(type='filepath'),gr.inputs.Slider(minimum=2,maximum=8,step=1)],"playable_video",title=title,description=description,article=article,examples=examples).launch(enable_queue=True,cache_examples=True)
 
1
  import os
 
2
  os.system("git clone https://github.com/google-research/frame-interpolation")
3
  import sys
4
  sys.path.append("frame-interpolation")
 
62
  description="Gradio demo for FILM: Frame Interpolation for Large Scene Motion. To use it, simply upload your images and add the times to interpolate number or click on one of the examples to load them. Read more at the links below."
63
  article = "<p style='text-align: center'><a href='https://film-net.github.io/' target='_blank'>FILM: Frame Interpolation for Large Motion</a> | <a href='https://github.com/google-research/frame-interpolation' target='_blank'>Github Repo</a></p>"
64
  examples=[['cat3.jpeg','cat4.jpeg',2]]
65
+ gr.Interface(predict,[gr.inputs.Image(type='filepath'),gr.inputs.Image(type='filepath'),gr.inputs.Slider(minimum=2,maximum=4,step=1)],"playable_video",title=title,description=description,article=article,examples=examples).launch(enable_queue=True)