Spaces:
Runtime error
Runtime error
debug
Browse files
app.py
CHANGED
@@ -58,9 +58,7 @@ def function_to_json(func_str, func_description, param_descriptions, required_pa
|
|
58 |
# Example usage with user-provided function information
|
59 |
sample_function_str = '''
|
60 |
def generate_music(input_text, input_melody):
|
61 |
-
|
62 |
-
generate music based on an input text
|
63 |
-
"""
|
64 |
client = Client("https://ysharma-musicgendupe.hf.space/", hf_token="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")
|
65 |
result = client.predict(
|
66 |
"melody",
|
|
|
58 |
# Example usage with user-provided function information
|
59 |
sample_function_str = '''
|
60 |
def generate_music(input_text, input_melody):
|
61 |
+
''' generate music based on an input text '''
|
|
|
|
|
62 |
client = Client("https://ysharma-musicgendupe.hf.space/", hf_token="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")
|
63 |
result = client.predict(
|
64 |
"melody",
|