Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,6 @@ from diffusion.script_util import create_model_and_diffusion, model_and_diffusio
|
|
| 27 |
import numpy as np
|
| 28 |
import imageio
|
| 29 |
|
| 30 |
-
|
| 31 |
def fetch(url_or_path):
|
| 32 |
if str(url_or_path).startswith('http://') or str(url_or_path).startswith('https://'):
|
| 33 |
r = requests.get(url_or_path)
|
|
|
|
| 27 |
import numpy as np
|
| 28 |
import imageio
|
| 29 |
|
|
|
|
| 30 |
def fetch(url_or_path):
|
| 31 |
if str(url_or_path).startswith('http://') or str(url_or_path).startswith('https://'):
|
| 32 |
r = requests.get(url_or_path)
|