GastonMazzei commited on
Commit
278047c
1 Parent(s): f0c0479

TEST: keep alive after nginx timeout

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,4 +1,4 @@
1
- import subprocess, os
2
  subprocess.run('pip install -e .', shell=True)
3
 
4
  print("Installed the repo!")
@@ -131,6 +131,7 @@ def inpaint(prompt, filename, mode):
131
  return content, Oimg
132
 
133
  elif (int(mode) == 1):
 
134
  global COUNTER
135
  COUNTER += 1
136
  print(f'[I]: mode 1')
 
1
+ import subprocess, os, time
2
  subprocess.run('pip install -e .', shell=True)
3
 
4
  print("Installed the repo!")
 
131
  return content, Oimg
132
 
133
  elif (int(mode) == 1):
134
+ time.sleep(80)
135
  global COUNTER
136
  COUNTER += 1
137
  print(f'[I]: mode 1')