Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -84,6 +84,8 @@ def ID_MIDI(input_midi):
|
|
84 |
client = InferenceClient(api_key=HF_TOKEN)
|
85 |
|
86 |
prompt = "Please create a summary table for a MIDI file based on the following keywords strings. Please add best possible description and best possible summary fields. Please respond with the table only. Do not say anything else. Thank you."
|
|
|
|
|
87 |
|
88 |
messages = [
|
89 |
{
|
|
|
84 |
client = InferenceClient(api_key=HF_TOKEN)
|
85 |
|
86 |
prompt = "Please create a summary table for a MIDI file based on the following keywords strings. Please add best possible description and best possible summary fields. Please respond with the table only. Do not say anything else. Thank you."
|
87 |
+
|
88 |
+
data = MIDID_database[input_midi_md5hash][0]['midi_path']
|
89 |
|
90 |
messages = [
|
91 |
{
|