Sada8888 commited on
Commit
c3f0ef0
·
verified ·
1 Parent(s): b907229

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1510,7 +1510,7 @@ def generate_video():
1510
  prompt_for_gemma = user_prompt if user_prompt else "لطفاً این تصویر را به یک ویدیوی سینمایی بسیار جذاب و واقع‌گرایانه متحرک کن."
1511
  combined_prompt = f"{master_prompt}\n\nUser request: {prompt_for_gemma}"
1512
 
1513
- for attempt in range(0):
1514
  try:
1515
  gemma_run_id = f"gemma_{run_id}_{attempt}"
1516
  gemma_txt_path = os.path.join("static/images", f"{gemma_run_id}.txt")
 
1510
  prompt_for_gemma = user_prompt if user_prompt else "لطفاً این تصویر را به یک ویدیوی سینمایی بسیار جذاب و واقع‌گرایانه متحرک کن."
1511
  combined_prompt = f"{master_prompt}\n\nUser request: {prompt_for_gemma}"
1512
 
1513
+ for attempt in range(1):
1514
  try:
1515
  gemma_run_id = f"gemma_{run_id}_{attempt}"
1516
  gemma_txt_path = os.path.join("static/images", f"{gemma_run_id}.txt")