Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from tensorflow.keras.models import load_model
|
|
5 |
from PIL import Image
|
6 |
import matplotlib.pyplot as plt
|
7 |
|
8 |
-
i1 = gr.inputs.Image(shape=(256, 256))
|
9 |
#i2 = gr.inputs.Slider(minimum=2, maximum=4, step=0.1, default=None, label="Scale for intensity - the more value the less the intensity in the pixels")
|
10 |
o1 = gr.outputs.Image(type="pil")
|
11 |
o2 = gr.outputs.Image(type="pil")
|
|
|
5 |
from PIL import Image
|
6 |
import matplotlib.pyplot as plt
|
7 |
|
8 |
+
i1 = gr.inputs.Image(shape=(256, 256), type='pil')
|
9 |
#i2 = gr.inputs.Slider(minimum=2, maximum=4, step=0.1, default=None, label="Scale for intensity - the more value the less the intensity in the pixels")
|
10 |
o1 = gr.outputs.Image(type="pil")
|
11 |
o2 = gr.outputs.Image(type="pil")
|