Spanicin commited on
Commit
9dc3195
1 Parent(s): 848771b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -283,9 +283,9 @@ def generate_video():
283
  print('request:',request.method)
284
  try:
285
  if request.method == 'POST':
286
- # source_image = request.files['source_image']
287
- image_path = '/home/user/app/images/shared_image3.png'
288
- source_image = Image.open(image_path)
289
  text_prompt = request.form['text_prompt']
290
 
291
  print('Input text prompt: ',text_prompt)
 
283
  print('request:',request.method)
284
  try:
285
  if request.method == 'POST':
286
+ source_image = request.files['source_image']
287
+ # image_path = '/home/user/app/images/shared_image3.png'
288
+ # source_image = Image.open(image_path)
289
  text_prompt = request.form['text_prompt']
290
 
291
  print('Input text prompt: ',text_prompt)