Spaces:
Sleeping
Sleeping
update
Browse files
README.md
CHANGED
|
@@ -9,3 +9,16 @@ license: apache-2.0
|
|
| 9 |
---
|
| 10 |
|
| 11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 12 |
+
|
| 13 |
+
### Vad GO
|
| 14 |
+
|
| 15 |
+
```text
|
| 16 |
+
docker build -t vad_go:v1 .
|
| 17 |
+
|
| 18 |
+
docker run -itd \
|
| 19 |
+
--name vad_go \
|
| 20 |
+
--network host \
|
| 21 |
+
vad_go:v1
|
| 22 |
+
|
| 23 |
+
http://10.75.27.247:7860
|
| 24 |
+
```
|
main.py
CHANGED
|
@@ -167,7 +167,8 @@ def main():
|
|
| 167 |
blocks.queue().launch(
|
| 168 |
share=False if platform.system() == "Windows" else False,
|
| 169 |
server_name="127.0.0.1" if platform.system() == "Windows" else "0.0.0.0",
|
| 170 |
-
server_port=7860
|
|
|
|
| 171 |
)
|
| 172 |
|
| 173 |
return
|
|
|
|
| 167 |
blocks.queue().launch(
|
| 168 |
share=False if platform.system() == "Windows" else False,
|
| 169 |
server_name="127.0.0.1" if platform.system() == "Windows" else "0.0.0.0",
|
| 170 |
+
server_port=7860,
|
| 171 |
+
show_error=True
|
| 172 |
)
|
| 173 |
|
| 174 |
return
|