Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -31,6 +31,9 @@ upsampler = RealESRGANer(scale=4, model_path=model_path, model=model, tile=0, ti
|
|
31 |
|
32 |
os.makedirs('output', exist_ok=True)
|
33 |
|
|
|
|
|
|
|
34 |
|
35 |
def inference(img, version, scale, weight):
|
36 |
weight /= 100
|
@@ -97,7 +100,7 @@ demo = gr.Interface(
|
|
97 |
], [
|
98 |
gr.outputs.Image(type="numpy", label="Улучшенное изображение"),
|
99 |
gr.outputs.File(label="Файл")
|
100 |
-
]
|
101 |
)
|
102 |
demo.queue()
|
103 |
demo.launch()
|
|
|
31 |
|
32 |
os.makedirs('output', exist_ok=True)
|
33 |
|
34 |
+
css = """
|
35 |
+
footer {visibility: hidden !important;}
|
36 |
+
"""
|
37 |
|
38 |
def inference(img, version, scale, weight):
|
39 |
weight /= 100
|
|
|
100 |
], [
|
101 |
gr.outputs.Image(type="numpy", label="Улучшенное изображение"),
|
102 |
gr.outputs.File(label="Файл")
|
103 |
+
], css=css
|
104 |
)
|
105 |
demo.queue()
|
106 |
demo.launch()
|