akopiler commited on
Commit
453c795
·
verified ·
1 Parent(s): bb50ba3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -63,6 +63,9 @@ def morphing(inp, target, slider):
63
  ww= 256 #int(frame_width/2)
64
  hh= 256 #int(frame_height/2)
65
 
 
 
 
66
  with gr.Blocks(theme=gr.themes.Default(font=[gr.themes.GoogleFont("Inconsolata"), "Arial", "sans-serif"])) as demo:
67
  gr.Markdown("Start choosing an input and target image for the morphing then click **Submit** to watch the output in slow motion.")
68
  with gr.Row():
 
63
  ww= 256 #int(frame_width/2)
64
  hh= 256 #int(frame_height/2)
65
 
66
+ inputs = gr.Image(label="Inputs", value=Lecun)
67
+ targets = gr.Image(label="Targets", value=Hinton, type="pil")
68
+
69
  with gr.Blocks(theme=gr.themes.Default(font=[gr.themes.GoogleFont("Inconsolata"), "Arial", "sans-serif"])) as demo:
70
  gr.Markdown("Start choosing an input and target image for the morphing then click **Submit** to watch the output in slow motion.")
71
  with gr.Row():