ikmalsaid commited on
Commit
4d7390f
1 Parent(s): adf81eb

added/updated app files

Browse files
Files changed (1) hide show
  1. modules/engine_upscale.py +1 -1
modules/engine_upscale.py CHANGED
@@ -12,7 +12,7 @@ def upscale(upscale_input, progress=ui.Progress()):
12
  payload = {'model_version': (None, '1')}; data = [('image',('upscale_input.jpg', image_bytes.getvalue(), 'image/jpeg'))]
13
 
14
  try:
15
- progress(0.95, desc="Upscaling image...")
16
  response = requests.post(mode['upscale'], headers=head, data=payload, files=data, timeout=(60, 60))
17
 
18
  if len(response.content) < 65 * 1024:
 
12
  payload = {'model_version': (None, '1')}; data = [('image',('upscale_input.jpg', image_bytes.getvalue(), 'image/jpeg'))]
13
 
14
  try:
15
+ progress(0.95, desc="Upscaling image")
16
  response = requests.post(mode['upscale'], headers=head, data=payload, files=data, timeout=(60, 60))
17
 
18
  if len(response.content) < 65 * 1024: