Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,6 +9,7 @@ from huggingface_hub import hf_hub_download
|
|
| 9 |
import requests
|
| 10 |
import gradio as gr
|
| 11 |
import numpy as np
|
|
|
|
| 12 |
|
| 13 |
class Upsample(nn.Module):
|
| 14 |
def __init__(self, in_channels, out_channels, kernel_size=4, stride=2, padding=1, dropout=True):
|
|
|
|
| 9 |
import requests
|
| 10 |
import gradio as gr
|
| 11 |
import numpy as np
|
| 12 |
+
from PIL import Image
|
| 13 |
|
| 14 |
class Upsample(nn.Module):
|
| 15 |
def __init__(self, in_channels, out_channels, kernel_size=4, stride=2, padding=1, dropout=True):
|