Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,6 +62,7 @@ def process_pdb_file(pdb_file, backbones, sequences, names):
|
|
| 62 |
names.append(_name)
|
| 63 |
return backbones, sequences, names
|
| 64 |
|
|
|
|
| 65 |
def flex_seq(input_seq, input_file):
|
| 66 |
if not input_seq:
|
| 67 |
input_seq = ""
|
|
@@ -202,6 +203,7 @@ def flex_seq(input_seq, input_file):
|
|
| 202 |
|
| 203 |
return output_files, output_message
|
| 204 |
|
|
|
|
| 205 |
def flex_3d(input_file):
|
| 206 |
if not input_file:
|
| 207 |
return None, "Provide a file or a input sequence"
|
|
|
|
| 62 |
names.append(_name)
|
| 63 |
return backbones, sequences, names
|
| 64 |
|
| 65 |
+
@spaces.GPU
|
| 66 |
def flex_seq(input_seq, input_file):
|
| 67 |
if not input_seq:
|
| 68 |
input_seq = ""
|
|
|
|
| 203 |
|
| 204 |
return output_files, output_message
|
| 205 |
|
| 206 |
+
@spaces.GPU
|
| 207 |
def flex_3d(input_file):
|
| 208 |
if not input_file:
|
| 209 |
return None, "Provide a file or a input sequence"
|