Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -173,7 +173,7 @@ def fill_shape_with_pixels(img): #img is taken by gradio as uint8
|
|
173 |
|
174 |
# Loading and Compiling the Model
|
175 |
#model_path = "/content/drive/MyDrive/Pinns_Loss_file.h5"
|
176 |
-
model_path = "
|
177 |
model = load_model(model_path, compile = False)
|
178 |
model.compile(loss=custom_loss, optimizer=tf.keras.optimizers.AdamW(learning_rate = 0.0001), metrics=['mae', 'cosine_proximity'])
|
179 |
|
|
|
173 |
|
174 |
# Loading and Compiling the Model
|
175 |
#model_path = "/content/drive/MyDrive/Pinns_Loss_file.h5"
|
176 |
+
model_path = "deep-neural-networks-for-navier-stokes-equations/blob/main/Pinns_Loss_file.h5"
|
177 |
model = load_model(model_path, compile = False)
|
178 |
model.compile(loss=custom_loss, optimizer=tf.keras.optimizers.AdamW(learning_rate = 0.0001), metrics=['mae', 'cosine_proximity'])
|
179 |
|