Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,9 +4,6 @@ import os
|
|
| 4 |
def morphing(input,target):
|
| 5 |
return Morph
|
| 6 |
|
| 7 |
-
def clear(input,target,output):
|
| 8 |
-
return ""
|
| 9 |
-
|
| 10 |
cwd = os.getcwd()
|
| 11 |
print(cwd)
|
| 12 |
|
|
@@ -14,6 +11,10 @@ Lecun=cwd + "/Geoffrey Hinton.jpeg"
|
|
| 14 |
Hinton=cwd + "/Yann LeCun.jpeg"
|
| 15 |
Morph=cwd + "/video.mp4"
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
with gr.Blocks(theme=gr.themes.Default(font=[gr.themes.GoogleFont("Inconsolata"), "Arial", "sans-serif"])) as demo:
|
| 18 |
gr.Markdown("Start choosing an input and target image for the morphing then click **Submit** to see the video output.")
|
| 19 |
with gr.Row():
|
|
|
|
| 4 |
def morphing(input,target):
|
| 5 |
return Morph
|
| 6 |
|
|
|
|
|
|
|
|
|
|
| 7 |
cwd = os.getcwd()
|
| 8 |
print(cwd)
|
| 9 |
|
|
|
|
| 11 |
Hinton=cwd + "/Yann LeCun.jpeg"
|
| 12 |
Morph=cwd + "/video.mp4"
|
| 13 |
|
| 14 |
+
print(Lecun)
|
| 15 |
+
print(Hinton)
|
| 16 |
+
print(Morph)
|
| 17 |
+
|
| 18 |
with gr.Blocks(theme=gr.themes.Default(font=[gr.themes.GoogleFont("Inconsolata"), "Arial", "sans-serif"])) as demo:
|
| 19 |
gr.Markdown("Start choosing an input and target image for the morphing then click **Submit** to see the video output.")
|
| 20 |
with gr.Row():
|