sayakpaul HF staff commited on
Commit
198a446
1 Parent(s): dcecbc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- print(f"Number of GPUs detected by TF: {tf.config.list_physical_devices('GPU')}")
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="image",
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",