Aria-UI commited on
Commit
43661ec
·
verified ·
1 Parent(s): a4e15a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -4
app.py CHANGED
@@ -7,9 +7,9 @@ import re
7
  import os
8
 
9
  examples = [
10
- {"image": "assets/example_desktop.png", "prompt": "switch off the wired connection"},
11
- {"image": "assets/example_web.png", "prompt": "view all branches"},
12
- {"image": "assets/example_mobile.jpg", "prompt": "share the screenshot"},
13
  ]
14
 
15
 
@@ -193,4 +193,9 @@ with gr.Blocks() as demo:
193
  outputs=[output_image]
194
  )
195
 
196
- demo.launch()
 
 
 
 
 
 
7
  import os
8
 
9
  examples = [
10
+ {"image": "./assets/example_desktop.png", "prompt": "switch off the wired connection"},
11
+ {"image": "./assets/example_web.png", "prompt": "view all branches"},
12
+ {"image": "./assets/example_mobile.jpg", "prompt": "share the screenshot"},
13
  ]
14
 
15
 
 
193
  outputs=[output_image]
194
  )
195
 
196
+ demo.launch(
197
+ server_name="0.0.0.0",
198
+ server_port=7860,
199
+ ssr_mode=False,
200
+ debug=True,
201
+ )