Spaces:
Runtime error
Runtime error
simonduerr
commited on
Commit
•
4e89be8
1
Parent(s):
05564bf
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ def predict_structure(prefix, feature_dict, model_runners, random_seed=0):
|
|
83 |
|
84 |
@ray.remote
|
85 |
def run_protgpt2(startsequence, length, repetitionPenalty, top_k_poolsize, max_seqs):
|
86 |
-
print("running protgpt2"
|
87 |
print(gpu_usage())
|
88 |
protgpt2 = pl("text-generation", model="nferruz/ProtGPT2")
|
89 |
sequences = protgpt2(
|
|
|
83 |
|
84 |
@ray.remote
|
85 |
def run_protgpt2(startsequence, length, repetitionPenalty, top_k_poolsize, max_seqs):
|
86 |
+
print("running protgpt2")
|
87 |
print(gpu_usage())
|
88 |
protgpt2 = pl("text-generation", model="nferruz/ProtGPT2")
|
89 |
sequences = protgpt2(
|