Spaces:
Runtime error
Runtime error
Simon Duerr
commited on
Commit
·
ce9089f
1
Parent(s):
e59066a
ui update, change url to server
Browse files- rosettafold_pymol.py +1 -2
rosettafold_pymol.py
CHANGED
|
@@ -133,7 +133,7 @@ def query_rosettafold2(
|
|
| 133 |
Number of models Default:0
|
| 134 |
"""
|
| 135 |
response = requests.post(
|
| 136 |
-
"
|
| 137 |
json={
|
| 138 |
"data": [
|
| 139 |
sequence, # str in 'sequence' Textbox component
|
|
@@ -153,7 +153,6 @@ def query_rosettafold2(
|
|
| 153 |
]
|
| 154 |
},
|
| 155 |
).json()
|
| 156 |
-
print(response)
|
| 157 |
try:
|
| 158 |
data = response["data"]
|
| 159 |
except KeyError:
|
|
|
|
| 133 |
Number of models Default:0
|
| 134 |
"""
|
| 135 |
response = requests.post(
|
| 136 |
+
"https://simonduerr-rosettafold2.hf.space/run/rosettafold2/",
|
| 137 |
json={
|
| 138 |
"data": [
|
| 139 |
sequence, # str in 'sequence' Textbox component
|
|
|
|
| 153 |
]
|
| 154 |
},
|
| 155 |
).json()
|
|
|
|
| 156 |
try:
|
| 157 |
data = response["data"]
|
| 158 |
except KeyError:
|