NiniCat commited on
Commit
bc09cb1
1 Parent(s): f183928

Updated app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py CHANGED
@@ -11,6 +11,21 @@ ENTRY_METHODS = dict(
11
  CRISPR_MODELS = ['Cas9', 'Cas12', 'Cas13']
12
  selected_model = st.selectbox('Select CRISPR model:', CRISPR_MODELS, key='selected_model')
13
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
 
15
 
16
  @st.cache_data
 
11
  CRISPR_MODELS = ['Cas9', 'Cas12', 'Cas13']
12
  selected_model = st.selectbox('Select CRISPR model:', CRISPR_MODELS, key='selected_model')
13
 
14
+ def load_model(model_name):
15
+ if model_name == 'Cas9':
16
+ # Placeholder for Cas9 model loading
17
+ # TODO: Implement Cas9 model loading logic
18
+ raise NotImplementedError("Cas9 model loading not implemented yet.")
19
+ elif model_name == 'Cas12':
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 == 'Cas13':
24
+ # Assuming tiger module is for Cas13
25
+ return tiger.load_model() # Assuming there's a load_model function in tiger.py
26
+ else:
27
+ raise ValueError(f"Unknown model: {model_name}")
28
+
29
 
30
 
31
  @st.cache_data