Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ def format_table_data(data_string):
|
|
| 63 |
#==========================================================================================================
|
| 64 |
|
| 65 |
|
| 66 |
-
MODELS = {'Llama 3.
|
| 67 |
'Mistral Nemo Instruct 2407': 'mistralai/Mistral-Nemo-Instruct-2407'
|
| 68 |
}
|
| 69 |
|
|
@@ -236,7 +236,10 @@ if __name__ == "__main__":
|
|
| 236 |
gr.Markdown("## Upload your MIDI")
|
| 237 |
|
| 238 |
input_midi = gr.File(label="Input MIDI", file_types=[".midi", ".mid", ".kar"], type="filepath")
|
| 239 |
-
input_model = gr.Dropdown(['Llama 3.
|
|
|
|
|
|
|
|
|
|
| 240 |
|
| 241 |
submit = gr.Button("Identify MIDI", variant="primary")
|
| 242 |
|
|
|
|
| 63 |
#==========================================================================================================
|
| 64 |
|
| 65 |
|
| 66 |
+
MODELS = {'Llama 3.1 Nemotron 70B Instruct HF': 'nvidia/Llama-3.1-Nemotron-70B-Instruct-HF',
|
| 67 |
'Mistral Nemo Instruct 2407': 'mistralai/Mistral-Nemo-Instruct-2407'
|
| 68 |
}
|
| 69 |
|
|
|
|
| 236 |
gr.Markdown("## Upload your MIDI")
|
| 237 |
|
| 238 |
input_midi = gr.File(label="Input MIDI", file_types=[".midi", ".mid", ".kar"], type="filepath")
|
| 239 |
+
input_model = gr.Dropdown(['Llama 3.1 Nemotron 70B Instruct HF', 'Mistral Nemo Instruct 2407'],
|
| 240 |
+
value='Llama 3.1 Nemotron 70B Instruct HF',
|
| 241 |
+
label='Select model'
|
| 242 |
+
)
|
| 243 |
|
| 244 |
submit = gr.Button("Identify MIDI", variant="primary")
|
| 245 |
|