Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
e6feb9e
1
Parent(s):
633a18a
Changing port and server
Browse files
demo.py
CHANGED
@@ -48,9 +48,6 @@ if __name__ == '__main__':
|
|
48 |
|
49 |
image_size = 512
|
50 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
51 |
-
server_name = '127.0.0.1'
|
52 |
-
server_port = None
|
53 |
-
share = True
|
54 |
silent = False
|
55 |
ios_mode = True
|
56 |
|
@@ -138,4 +135,4 @@ if __name__ == '__main__':
|
|
138 |
examples_per_page=5
|
139 |
)
|
140 |
|
141 |
-
demo.launch(
|
|
|
48 |
|
49 |
image_size = 512
|
50 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
|
|
|
|
|
|
51 |
silent = False
|
52 |
ios_mode = True
|
53 |
|
|
|
135 |
examples_per_page=5
|
136 |
)
|
137 |
|
138 |
+
demo.launch()
|