Spaces:
Runtime error
Runtime error
adding link to community
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import tempfile
|
|
6 |
import os
|
7 |
|
8 |
token = os.environ['apikey']
|
9 |
-
API_HOST = "https://api.voicemod.net"
|
10 |
|
11 |
|
12 |
|
@@ -81,8 +81,6 @@ def getPayload(index):
|
|
81 |
"language":"en",
|
82 |
"scoreFileRemotePath":"themes/DeckTheHalls/score/TTS_XMAS_DeckTheHalls_Melody_C_200bpm_4x4_ABCD.json",
|
83 |
"scoreDataFileRemotePath":"themes/DeckTheHalls/score/TTS_XMAS_DeckTheHalls_Score_Data_ABCD.json",
|
84 |
-
"dspFileRemotePath":"themes/DeckTheHalls/dsp/XML/TTS_XMAS_DeckTheHalls_DSP_C_200bpm_ABCD.xml",
|
85 |
-
"dspEffect":"",
|
86 |
"lyrics": [],
|
87 |
"backgroundSounds":False,
|
88 |
"artistName":"Cecilia",
|
@@ -234,6 +232,10 @@ with gr.Blocks() as demo:
|
|
234 |
Use the examples provided to understand how they work and write valid lyrics to get best results
|
235 |
|
236 |
Also, the length of the song is fixed, if you go over the line numbers the extra lyrics will be ignored.
|
|
|
|
|
|
|
|
|
237 |
""")
|
238 |
|
239 |
music_options = ["Deck the Halls by Cecilia",
|
@@ -301,7 +303,8 @@ when pushed too hard"""]
|
|
301 |
gr.Markdown("""
|
302 |
## Want to use this API for your project?
|
303 |
|
304 |
-
If you'd like to use this API for your own project, request access through our [form here](https://voicemod.typeform.com/to/KqeNN6bO?typeform-source=huggingface)
|
|
|
305 |
""")
|
306 |
|
307 |
btn.click(fn=greet,
|
|
|
6 |
import os
|
7 |
|
8 |
token = os.environ['apikey']
|
9 |
+
API_HOST = "https://staging-gateway-api.voicemod.net" #api.voicemod.net"
|
10 |
|
11 |
|
12 |
|
|
|
81 |
"language":"en",
|
82 |
"scoreFileRemotePath":"themes/DeckTheHalls/score/TTS_XMAS_DeckTheHalls_Melody_C_200bpm_4x4_ABCD.json",
|
83 |
"scoreDataFileRemotePath":"themes/DeckTheHalls/score/TTS_XMAS_DeckTheHalls_Score_Data_ABCD.json",
|
|
|
|
|
84 |
"lyrics": [],
|
85 |
"backgroundSounds":False,
|
86 |
"artistName":"Cecilia",
|
|
|
232 |
Use the examples provided to understand how they work and write valid lyrics to get best results
|
233 |
|
234 |
Also, the length of the song is fixed, if you go over the line numbers the extra lyrics will be ignored.
|
235 |
+
|
236 |
+
## Join our Community
|
237 |
+
If you'd like to know more and meet other developers working with this technology, join our [Discord Server](https://discord.gg/vm-dev-community)!
|
238 |
+
|
239 |
""")
|
240 |
|
241 |
music_options = ["Deck the Halls by Cecilia",
|
|
|
303 |
gr.Markdown("""
|
304 |
## Want to use this API for your project?
|
305 |
|
306 |
+
If you'd like to use this API for your own project, request access through our [form here](https://voicemod.typeform.com/to/KqeNN6bO?typeform-source=huggingface) and join
|
307 |
+
our [Dev Community on Discord](https://discord.gg/vm-dev-community)!
|
308 |
""")
|
309 |
|
310 |
btn.click(fn=greet,
|