Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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",
|
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
|