HoneyTian commited on
Commit
e8fafc5
·
1 Parent(s): 99978ff
Files changed (2) hide show
  1. .dockerignore +5 -0
  2. main.py +11 -1
.dockerignore ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+
2
+ .git/
3
+ .idea/
4
+
5
+ /examples/
main.py CHANGED
@@ -1,5 +1,15 @@
1
  #!/usr/bin/python3
2
  # -*- coding: utf-8 -*-
 
 
 
 
 
 
 
 
 
 
3
  import argparse
4
  import json
5
  from functools import lru_cache
@@ -215,7 +225,7 @@ def main():
215
 
216
  # ui
217
  with gr.Blocks() as blocks:
218
- gr.Markdown(value="nx denoise.")
219
  with gr.Tabs():
220
  with gr.TabItem("denoise"):
221
  with gr.Row():
 
1
  #!/usr/bin/python3
2
  # -*- coding: utf-8 -*-
3
+ """
4
+ docker build -t denoise:v20250609_1536 .
5
+ docker stop denoise_7865 && docker rm denoise_7865
6
+ docker run -itd \
7
+ --name denoise_7865 \
8
+ --restart=always \
9
+ --network host \
10
+ -e port=7865 \
11
+ denoise:v20250609_1536
12
+ """
13
  import argparse
14
  import json
15
  from functools import lru_cache
 
225
 
226
  # ui
227
  with gr.Blocks() as blocks:
228
+ gr.Markdown(value="denoise.")
229
  with gr.Tabs():
230
  with gr.TabItem("denoise"):
231
  with gr.Row():