Spaces:
Runtime error
Runtime error
weifeng.genius
commited on
Commit
•
b30688b
1
Parent(s):
3f4baa8
add demo
Browse files
app.py
CHANGED
@@ -123,8 +123,12 @@ def inference(input_video,
|
|
123 |
|
124 |
|
125 |
examples = [
|
126 |
-
["
|
127 |
-
"
|
|
|
|
|
|
|
|
|
128 |
]
|
129 |
|
130 |
def preview_inference(
|
@@ -160,10 +164,8 @@ if __name__ == '__main__':
|
|
160 |
prompt = gr.Textbox(label='Prompt')
|
161 |
# preview_button = gr.Button('Preview')
|
162 |
run_button = gr.Button('Generate Video')
|
163 |
-
|
164 |
-
|
165 |
-
result = gr.Video(label="Generated Video")
|
166 |
-
|
167 |
inputs = [
|
168 |
input_video,
|
169 |
prompt,
|
|
|
123 |
|
124 |
|
125 |
examples = [
|
126 |
+
["bear.mp4",
|
127 |
+
"a bear walking through stars, artstation"],
|
128 |
+
["car-shadow.mp4",
|
129 |
+
"a car, sunset, cartoon style, artstation."],
|
130 |
+
["libby.mp4",
|
131 |
+
"a dog running, chinese ink painting."],
|
132 |
]
|
133 |
|
134 |
def preview_inference(
|
|
|
164 |
prompt = gr.Textbox(label='Prompt')
|
165 |
# preview_button = gr.Button('Preview')
|
166 |
run_button = gr.Button('Generate Video')
|
167 |
+
with gr.Column():
|
168 |
+
result = gr.Video(label="Generated Video")
|
|
|
|
|
169 |
inputs = [
|
170 |
input_video,
|
171 |
prompt,
|
bear.mp4
ADDED
Binary file (491 kB). View file
|
|
car-shadow.mp4
ADDED
Binary file (352 kB). View file
|
|
libby.mp4
ADDED
Binary file (726 kB). View file
|
|