fffiloni commited on
Commit
3d72809
1 Parent(s): 17d1df1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def infer(portrait_in, prompt_in):
26
  break # Exit the while loop if the operation succeeded
27
  except Exception as e:
28
  print(f"Operation failed with error: {e}")
29
- time.sleep(3) # Wait for 5 seconds before attempting again
30
 
31
  unique_id = str(uuid.uuid4())
32
 
 
26
  break # Exit the while loop if the operation succeeded
27
  except Exception as e:
28
  print(f"Operation failed with error: {e}")
29
+ time.sleep(10) # Wait for 5 seconds before attempting again
30
 
31
  unique_id = str(uuid.uuid4())
32