We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, Im running musicgen with Gradio but I can't use the API to generate a song from a texte.
I use this code but I always have errors regarding the wrong data used
`from gradio_client import Client import os
client = Client("http://13.43.27.33:7862/") result = client.predict( "Piano ballad", # text description None, fn_index=0, )
print(result) `
Can you help me to find to good code to use the API with gradio ? Thanks in advance
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
Im running musicgen with Gradio but I can't use the API to generate a song from a texte.
I use this code but I always have errors regarding the wrong data used
`from gradio_client import Client
import os
client = Client("http://13.43.27.33:7862/")
result = client.predict(
"Piano ballad", # text description
None,
fn_index=0,
)
print(result)
`
Can you help me to find to good code to use the API with gradio ? Thanks in advance
The text was updated successfully, but these errors were encountered: