Spaces:
Runtime error
Runtime error
simonduerr
commited on
Commit
·
95835ff
1
Parent(s):
f469b65
Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,7 @@ def molecule(input_pdb, public_link):
|
|
29 |
|
30 |
print(input_pdb)
|
31 |
print(public_link+'/file='+os.path.basename(input_pdb))
|
|
|
32 |
x ="""<!DOCTYPE html>
|
33 |
<html lang="en">
|
34 |
<head>
|
@@ -74,7 +75,7 @@ def molecule(input_pdb, public_link):
|
|
74 |
//Set options (Checkout available options list in the documentation)
|
75 |
var options = {
|
76 |
customData: {
|
77 |
-
url: "{
|
78 |
format: "pdb"
|
79 |
},
|
80 |
alphafoldView: true,
|
|
|
29 |
|
30 |
print(input_pdb)
|
31 |
print(public_link+'/file='+os.path.basename(input_pdb))
|
32 |
+
link = public_link+"/file="+os.path.basename(input_pdb)
|
33 |
x ="""<!DOCTYPE html>
|
34 |
<html lang="en">
|
35 |
<head>
|
|
|
75 |
//Set options (Checkout available options list in the documentation)
|
76 |
var options = {
|
77 |
customData: {
|
78 |
+
url: "{link}",
|
79 |
format: "pdb"
|
80 |
},
|
81 |
alphafoldView: true,
|