Commit
Β·
20aec25
1
Parent(s):
d4b1c40
Update app.py
Browse files
app.py
CHANGED
|
@@ -173,7 +173,7 @@ def run_inference(target, source, slider, adv_slider, settings):
|
|
| 173 |
total_img *= 255.0
|
| 174 |
total_img = total_img.astype('uint8')
|
| 175 |
|
| 176 |
-
return total_img
|
| 177 |
except Exception as e:
|
| 178 |
print(e)
|
| 179 |
return None
|
|
|
|
| 173 |
total_img *= 255.0
|
| 174 |
total_img = total_img.astype('uint8')
|
| 175 |
|
| 176 |
+
return total_img
|
| 177 |
except Exception as e:
|
| 178 |
print(e)
|
| 179 |
return None
|