Spaces:
Runtime error
Runtime error
Commit
·
98d175b
1
Parent(s):
1992d6a
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def run_app(model_filename, config_filename, port, concurrency_count, max_size):
|
|
39 |
checkpoint = torch.load(model_path, map_location=torch.device('cpu'))
|
40 |
model.load_state_dict(checkpoint['model_state_dict'])
|
41 |
|
42 |
-
title = "
|
43 |
|
44 |
|
45 |
with gr.Blocks(title=title) as app:
|
@@ -100,11 +100,8 @@ def run_app(model_filename, config_filename, port, concurrency_count, max_size):
|
|
100 |
app.queue(concurrency_count=concurrency_count, max_size=max_size)
|
101 |
|
102 |
app.launch(
|
103 |
-
# ssl_verify=False,
|
104 |
server_name='0.0.0.0',
|
105 |
server_port=port,
|
106 |
-
# ssl_keyfile='certificates/example.key',
|
107 |
-
# ssl_certfile='certificates/example.crt',
|
108 |
)
|
109 |
|
110 |
|
|
|
39 |
checkpoint = torch.load(model_path, map_location=torch.device('cpu'))
|
40 |
model.load_state_dict(checkpoint['model_state_dict'])
|
41 |
|
42 |
+
title = "Denoising"
|
43 |
|
44 |
|
45 |
with gr.Blocks(title=title) as app:
|
|
|
100 |
app.queue(concurrency_count=concurrency_count, max_size=max_size)
|
101 |
|
102 |
app.launch(
|
|
|
103 |
server_name='0.0.0.0',
|
104 |
server_port=port,
|
|
|
|
|
105 |
)
|
106 |
|
107 |
|