Spaces:
Runtime error
Runtime error
Commit
·
6a7f5af
1
Parent(s):
4e89be8
Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,6 @@ def run_protgpt2(startsequence, length, repetitionPenalty, top_k_poolsize, max_s
|
|
103 |
#print(gpu_usage())
|
104 |
return sequences
|
105 |
|
106 |
-
@ray.remote
|
107 |
def run_alphafold(startsequence):
|
108 |
print(gpu_usage())
|
109 |
model_runners = {}
|
@@ -153,7 +152,7 @@ def update(inp):
|
|
153 |
print("Running AF on", inp)
|
154 |
startsequence = inp
|
155 |
# run alphafold using ray
|
156 |
-
plddts =
|
157 |
print(plddts)
|
158 |
x = np.arange(10)
|
159 |
#plt.style.use(["seaborn-ticks", "seaborn-talk"])
|
|
|
103 |
#print(gpu_usage())
|
104 |
return sequences
|
105 |
|
|
|
106 |
def run_alphafold(startsequence):
|
107 |
print(gpu_usage())
|
108 |
model_runners = {}
|
|
|
152 |
print("Running AF on", inp)
|
153 |
startsequence = inp
|
154 |
# run alphafold using ray
|
155 |
+
plddts = run_alphafold(startsequence)
|
156 |
print(plddts)
|
157 |
x = np.arange(10)
|
158 |
#plt.style.use(["seaborn-ticks", "seaborn-talk"])
|