sim04ful
commited on
Commit
•
f122944
1
Parent(s):
3e1b2b0
first element of language taken
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -83,7 +83,7 @@ class EndpointHandler:
|
|
83 |
gpt_cond_latent=gpt_cond_latent,
|
84 |
temperature=float(model_input["temperature"]),
|
85 |
repetition_penalty=float(model_input["repetition_penalty"]),
|
86 |
-
language=model_input["language"],
|
87 |
enable_text_splitting=True,
|
88 |
)
|
89 |
audio_file = io.BytesIO()
|
|
|
83 |
gpt_cond_latent=gpt_cond_latent,
|
84 |
temperature=float(model_input["temperature"]),
|
85 |
repetition_penalty=float(model_input["repetition_penalty"]),
|
86 |
+
language=model_input["language"][0],
|
87 |
enable_text_splitting=True,
|
88 |
)
|
89 |
audio_file = io.BytesIO()
|