asigalov61 commited on
Commit
d2e83d4
·
verified ·
1 Parent(s): a0baf01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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. Please add best possible description and best possible summary fields. Please respond with the table only. Do not say anything else. Thank you."
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
  {