jonathang commited on
Commit
625231b
1 Parent(s): fe37421

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def get_model():
68
 
69
  model2 = Model(inputs=x_input, outputs=x_output)
70
  model2.compile(optimizer='adam', loss='categorical_crossentropy', metrics=['accuracy'])
71
- weights = cached_download(hf_hub_url("jonathang", "Protein_Family_CNN"))
72
  model2.load_weights(weights)
73
 
74
  return model2
 
68
 
69
  model2 = Model(inputs=x_input, outputs=x_output)
70
  model2.compile(optimizer='adam', loss='categorical_crossentropy', metrics=['accuracy'])
71
+ weights = cached_download(hf_hub_url("jonathang/Protein_Family_CNN", 'model2.h5'))
72
  model2.load_weights(weights)
73
 
74
  return model2