Spaces:
Sleeping
Sleeping
fixed cas13d
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ ENTRY_METHODS = dict(
|
|
8 |
manual='Manual entry of single transcript',
|
9 |
fasta="Fasta file upload (supports multiple transcripts if they have unique ID's)"
|
10 |
)
|
11 |
-
CRISPR_MODELS = ['Cas9', 'Cas12', '
|
12 |
selected_model = st.selectbox('Select CRISPR model:', CRISPR_MODELS, key='selected_model')
|
13 |
|
14 |
def load_model(model_name):
|
@@ -20,7 +20,7 @@ def load_model(model_name):
|
|
20 |
# Placeholder for Cas12 model loading
|
21 |
# TODO: Implement Cas12 model loading logic
|
22 |
raise NotImplementedError("Cas12 model loading not implemented yet.")
|
23 |
-
elif model_name == '
|
24 |
# Assuming tiger module is for Cas13
|
25 |
return tiger.load_model() # Assuming there's a load_model function in tiger.py
|
26 |
else:
|
|
|
8 |
manual='Manual entry of single transcript',
|
9 |
fasta="Fasta file upload (supports multiple transcripts if they have unique ID's)"
|
10 |
)
|
11 |
+
CRISPR_MODELS = ['Cas9', 'Cas12', 'Cas13d']
|
12 |
selected_model = st.selectbox('Select CRISPR model:', CRISPR_MODELS, key='selected_model')
|
13 |
|
14 |
def load_model(model_name):
|
|
|
20 |
# Placeholder for Cas12 model loading
|
21 |
# TODO: Implement Cas12 model loading logic
|
22 |
raise NotImplementedError("Cas12 model loading not implemented yet.")
|
23 |
+
elif model_name == 'Cas13d':
|
24 |
# Assuming tiger module is for Cas13
|
25 |
return tiger.load_model() # Assuming there's a load_model function in tiger.py
|
26 |
else:
|