AItool commited on
Commit
bbbd291
·
verified ·
1 Parent(s): 4ddc394

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,7 +49,7 @@ with gr.Blocks(title="RIFE Interpolation") as demo:
49
  input_imageB = gr.Image(type="filepath", value=str(FRAME2), label="Image B")
50
  run_btn = gr.Button("Interpolate")
51
  result_img = gr.Image(type="filepath", label="Interpolated GIF")
52
- #result_path = gr.Textbox(label="Output path", interactive=False)
53
  run_btn.click(interpolate_image, [input_imageA, input_imageB], [result_img, result_path])
54
 
55
  with gr.Tab("Upload your images"):
@@ -58,7 +58,7 @@ with gr.Blocks(title="RIFE Interpolation") as demo:
58
  user_B = gr.Image(type="filepath", label="Image B")
59
  run_btn2 = gr.Button("Interpolate")
60
  user_img = gr.Image(type="filepath", label="Interpolated GIF")
61
- #user_path = gr.Textbox(label="Output path", interactive=False)
62
  run_btn2.click(interpolate_image, [user_A, user_B], [user_img, user_path])
63
  gr.HTML("""<div style="margin: 0.75em 0;"><a href="https://www.buymeacoffee.com/Artgen" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a></div>
64
  <div style="margin: 0.75em 0;">But what would really help me is a <strong>PRO subscription</strong> to Google Colab, Kaggle or Hugging Face. Many thanks.</div>""")
 
49
  input_imageB = gr.Image(type="filepath", value=str(FRAME2), label="Image B")
50
  run_btn = gr.Button("Interpolate")
51
  result_img = gr.Image(type="filepath", label="Interpolated GIF")
52
+ result_path = gr.Textbox(label="Output path", interactive=False)
53
  run_btn.click(interpolate_image, [input_imageA, input_imageB], [result_img, result_path])
54
 
55
  with gr.Tab("Upload your images"):
 
58
  user_B = gr.Image(type="filepath", label="Image B")
59
  run_btn2 = gr.Button("Interpolate")
60
  user_img = gr.Image(type="filepath", label="Interpolated GIF")
61
+ user_path = gr.Textbox(label="Output path", interactive=False)
62
  run_btn2.click(interpolate_image, [user_A, user_B], [user_img, user_path])
63
  gr.HTML("""<div style="margin: 0.75em 0;"><a href="https://www.buymeacoffee.com/Artgen" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a></div>
64
  <div style="margin: 0.75em 0;">But what would really help me is a <strong>PRO subscription</strong> to Google Colab, Kaggle or Hugging Face. Many thanks.</div>""")