C2MV commited on
Commit
13175db
1 Parent(s): 5a4b8eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -420,13 +420,13 @@ def create_gradio_interface():
420
  function(downloaded_dois, failed_dois){
421
  let downloaded_html = '<h3>Found DOIs</h3>';
422
  downloaded_dois.split('\\n').filter(Boolean).forEach(doi => {
423
- downloaded_html += doi + '<br>';
424
  });
425
  document.querySelector("#downloaded-dois").innerHTML = downloaded_html;
426
 
427
  let failed_html = '<h3>Missed DOIs</h3>';
428
  failed_dois.split('\\n').filter(Boolean).forEach(doi => {
429
- failed_html += doi + '<br>';
430
  });
431
  document.querySelector("#failed-dois").innerHTML = failed_html;
432
  return [downloaded_html, failed_html];
 
420
  function(downloaded_dois, failed_dois){
421
  let downloaded_html = '<h3>Found DOIs</h3>';
422
  downloaded_dois.split('\\n').filter(Boolean).forEach(doi => {
423
+ downloaded_html += '[' + doi + ']<br>';
424
  });
425
  document.querySelector("#downloaded-dois").innerHTML = downloaded_html;
426
 
427
  let failed_html = '<h3>Missed DOIs</h3>';
428
  failed_dois.split('\\n').filter(Boolean).forEach(doi => {
429
+ failed_html += '[' + doi + ']<br>';
430
  });
431
  document.querySelector("#failed-dois").innerHTML = failed_html;
432
  return [downloaded_html, failed_html];