Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -202,5 +202,5 @@ with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
|
|
202 |
radio_input = gr.Radio(label="Upscale Levels", choices=[2, 4, 6, 8, 10], value=2)
|
203 |
iface = gr.Interface(fn=upscale_image, inputs = [gr.Image(label="Input Image", interactive=True), radio_input], outputs = gr.Image(label="Upscaled Image", format="png"), title="Image Upscaler")
|
204 |
|
205 |
-
|
206 |
-
app.launch(show_api=False, share=False)
|
|
|
202 |
radio_input = gr.Radio(label="Upscale Levels", choices=[2, 4, 6, 8, 10], value=2)
|
203 |
iface = gr.Interface(fn=upscale_image, inputs = [gr.Image(label="Input Image", interactive=True), radio_input], outputs = gr.Image(label="Upscaled Image", format="png"), title="Image Upscaler")
|
204 |
|
205 |
+
if __name__ == "__main__":
|
206 |
+
app.launch(show_api=False, share=False)
|