vidhanm commited on
Commit
08a37b7
·
1 Parent(s): ff6cc3f

increased timeout

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def call_generate_script(image_path: str, prompt_text: str) -> str:
51
  capture_output=True,
52
  text=True,
53
  check=True, # Raise an exception for non-zero exit codes
54
- timeout=240 # Add a timeout (e.g., 2 minutes)
55
  )
56
 
57
  stdout = process.stdout
 
51
  capture_output=True,
52
  text=True,
53
  check=True, # Raise an exception for non-zero exit codes
54
+ timeout=2400 # Add a timeout (e.g., 2 minutes)
55
  )
56
 
57
  stdout = process.stdout