i_vorobyev commited on
Commit
0a9c6bb
·
1 Parent(s): 829b8da

add download button

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -76,10 +76,9 @@ def molecule(input_pdb):
76
  }
77
 
78
  document.getElementById("dwn-btn").addEventListener("click", function(){
79
- var text = document.getElementById("text-val").value;
80
  var filename = "result.pdb";
81
 
82
- download(filename, text);
83
  }, false);
84
  </script>
85
  """
 
76
  }
77
 
78
  document.getElementById("dwn-btn").addEventListener("click", function(){
 
79
  var filename = "result.pdb";
80
 
81
+ download(filename, "test";
82
  }, false);
83
  </script>
84
  """