Spaces:
Runtime error
Runtime error
pengdaqian
commited on
Commit
•
294eea1
1
Parent(s):
ed0242a
fix
Browse files- Dockerfile +1 -1
- README.md +1 -1
- app.py +1 -1
- requirements.txt +1 -1
Dockerfile
CHANGED
@@ -24,6 +24,6 @@ WORKDIR $HOME/app
|
|
24 |
|
25 |
COPY --chown=user . $HOME/app
|
26 |
|
27 |
-
EXPOSE
|
28 |
|
29 |
CMD ["python3", "app.py"]
|
|
|
24 |
|
25 |
COPY --chown=user . $HOME/app
|
26 |
|
27 |
+
EXPOSE 7860
|
28 |
|
29 |
CMD ["python3", "app.py"]
|
README.md
CHANGED
@@ -4,8 +4,8 @@ emoji: 🏃
|
|
4 |
colorFrom: pink
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
|
|
7 |
app_file: app.py
|
8 |
-
app_port: 6006
|
9 |
---
|
10 |
|
11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
4 |
colorFrom: pink
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.1.7
|
8 |
app_file: app.py
|
|
|
9 |
---
|
10 |
|
11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
@@ -343,7 +343,7 @@ def main():
|
|
343 |
vc_search.click(auto_search, [vc_input2], [vc_output1, vc_input3])
|
344 |
vc_submit.click(svc_main, [sid, vc_input3], [vc_output1, vc_output2])
|
345 |
|
346 |
-
app.launch(
|
347 |
except KeyboardInterrupt:
|
348 |
app.close()
|
349 |
sys.exit(0)
|
|
|
343 |
vc_search.click(auto_search, [vc_input2], [vc_output1, vc_input3])
|
344 |
vc_submit.click(svc_main, [sid, vc_input3], [vc_output1, vc_output2])
|
345 |
|
346 |
+
app.launch()
|
347 |
except KeyboardInterrupt:
|
348 |
app.close()
|
349 |
sys.exit(0)
|
requirements.txt
CHANGED
@@ -6,7 +6,7 @@ scikit-learn
|
|
6 |
scipy
|
7 |
soundfile
|
8 |
toolz
|
9 |
-
torch
|
10 |
torchaudio
|
11 |
torchcrepe
|
12 |
transformers==4.29.0
|
|
|
6 |
scipy
|
7 |
soundfile
|
8 |
toolz
|
9 |
+
torch==1.13.0
|
10 |
torchaudio
|
11 |
torchcrepe
|
12 |
transformers==4.29.0
|