Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ from PIL import Image
|
|
| 11 |
from create_maxim_model import Model
|
| 12 |
from maxim.configs import MAXIM_CONFIGS
|
| 13 |
|
| 14 |
-
|
| 15 |
_MODEL = from_pretrained_keras("sayakpaul/S-2_enhancement_lol")
|
| 16 |
|
| 17 |
|
|
@@ -97,7 +97,7 @@ description = "The underlying model is [this](https://huggingface.co/sayakpaul/S
|
|
| 97 |
iface = gr.Interface(
|
| 98 |
infer,
|
| 99 |
inputs="image",
|
| 100 |
-
outputs=
|
| 101 |
title=title,
|
| 102 |
description=description,
|
| 103 |
allow_flagging="never",
|
|
|
|
| 11 |
from create_maxim_model import Model
|
| 12 |
from maxim.configs import MAXIM_CONFIGS
|
| 13 |
|
| 14 |
+
|
| 15 |
_MODEL = from_pretrained_keras("sayakpaul/S-2_enhancement_lol")
|
| 16 |
|
| 17 |
|
|
|
|
| 97 |
iface = gr.Interface(
|
| 98 |
infer,
|
| 99 |
inputs="image",
|
| 100 |
+
outputs=gr.Image().style(height=242),
|
| 101 |
title=title,
|
| 102 |
description=description,
|
| 103 |
allow_flagging="never",
|