Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -100,9 +100,9 @@ def ID_MIDI(input_midi):
|
|
100 |
|
101 |
client = InferenceClient(api_key=HF_TOKEN)
|
102 |
|
103 |
-
prompt = "Please create a summary table for a MIDI file based on the following keywords strings
|
104 |
|
105 |
-
data = MIDID_database[new_midi_md5hash][0]['midi_path']
|
106 |
|
107 |
messages = [
|
108 |
{
|
|
|
100 |
|
101 |
client = InferenceClient(api_key=HF_TOKEN)
|
102 |
|
103 |
+
prompt = "Please create a summary table for a MIDI file based on the following keywords strings, best possible description and best possible summary fields. Please respond with the table only. Do not say anything else. Thank you."
|
104 |
|
105 |
+
data = 'Source MIDI dataset: ' + MIDID_database[new_midi_md5hash][0]['midi_dataset'] + '\n' + MIDID_database[new_midi_md5hash][0]['midi_path']
|
106 |
|
107 |
messages = [
|
108 |
{
|