Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -138,15 +138,7 @@ if __name__ == "__main__":
|
|
138 |
|
139 |
print('=' * 70)
|
140 |
|
141 |
-
|
142 |
-
css = """
|
143 |
-
.dataframe td {
|
144 |
-
white-space: normal !important;
|
145 |
-
word-wrap: break-word !important;
|
146 |
-
}
|
147 |
-
"""
|
148 |
-
|
149 |
-
app = gr.Blocks(css=css)
|
150 |
|
151 |
with app:
|
152 |
|
@@ -166,7 +158,7 @@ if __name__ == "__main__":
|
|
166 |
gr.Markdown("## MIDI identification results")
|
167 |
|
168 |
output_midi_md5 = gr.Textbox(label="Input MIDI md5 hash")
|
169 |
-
output_MIDID_results_table = gr.Dataframe(label="MIDID results table")
|
170 |
|
171 |
run_event = submit.click(ID_MIDI, [input_midi,
|
172 |
],
|
|
|
138 |
|
139 |
print('=' * 70)
|
140 |
|
141 |
+
app = gr.Blocks()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
|
143 |
with app:
|
144 |
|
|
|
158 |
gr.Markdown("## MIDI identification results")
|
159 |
|
160 |
output_midi_md5 = gr.Textbox(label="Input MIDI md5 hash")
|
161 |
+
output_MIDID_results_table = gr.Dataframe(label="MIDID results table", wrap=True)
|
162 |
|
163 |
run_event = submit.click(ID_MIDI, [input_midi,
|
164 |
],
|