🚩 Report: Not working
#1
by
ayymen
- opened
The space won't start. It works fine on my machine.
ayymen
changed discussion status to
closed
Azul Dada, Your API at https://tamazight-nlp-tts.hf.space/ isn't working, I can't fetch the API info to use it in Python! Can you help me with that ?
@ysnait
Azul!
Try this (worked on my machine):
from gradio_client import Client
client = Client("Tamazight-NLP/TTS")
result = client.predict(
text="ⴰⵢⵜⵎⴰ ⴷ ⵉⵙⵙⵜⵎⴰ, ⴰⵣⵓⵍ.",
variant="shi",
speaker="yan",
split_sentences=False,
speaker_wav=None,
voice_cv_model=None,
api_name="/predict"
)
print(result)