Update app.py
Browse files
app.py
CHANGED
|
@@ -296,7 +296,7 @@ def generate_video():
|
|
| 296 |
try:
|
| 297 |
if request.method == 'POST':
|
| 298 |
# source_image = request.files['source_image']
|
| 299 |
-
image_path = '/home/user/app/images/
|
| 300 |
source_image = Image.open(image_path)
|
| 301 |
text_prompt = request.form['text_prompt']
|
| 302 |
|
|
|
|
| 296 |
try:
|
| 297 |
if request.method == 'POST':
|
| 298 |
# source_image = request.files['source_image']
|
| 299 |
+
image_path = '/home/user/app/images/screen.jpg'
|
| 300 |
source_image = Image.open(image_path)
|
| 301 |
text_prompt = request.form['text_prompt']
|
| 302 |
|