Spaces:
Running
Running
Update app.py
Browse files
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():
|