Spaces:
Running
Running
Update ui/main.py
Browse files- ui/main.py +1 -1
ui/main.py
CHANGED
@@ -54,7 +54,7 @@ def run():
|
|
54 |
server_port = roop.globals.CFG.server_port
|
55 |
if server_port <= 0:
|
56 |
server_port = None
|
57 |
-
ssl_verify = False if server_name == '
|
58 |
with gr.Blocks(title=f'{roop.metadata.name} {roop.metadata.version}', theme=roop.globals.CFG.selected_theme, css=mycss) as ui:
|
59 |
with gr.Row(variant='compact'):
|
60 |
gr.Markdown(f"### [{roop.metadata.name} {roop.metadata.version}](https://github.com/C0untFloyd/roop-unleashed)")
|
|
|
54 |
server_port = roop.globals.CFG.server_port
|
55 |
if server_port <= 0:
|
56 |
server_port = None
|
57 |
+
ssl_verify = False if server_name == '127.0.0.1' else True
|
58 |
with gr.Blocks(title=f'{roop.metadata.name} {roop.metadata.version}', theme=roop.globals.CFG.selected_theme, css=mycss) as ui:
|
59 |
with gr.Row(variant='compact'):
|
60 |
gr.Markdown(f"### [{roop.metadata.name} {roop.metadata.version}](https://github.com/C0untFloyd/roop-unleashed)")
|