krafiq commited on
Commit
a7f788f
·
1 Parent(s): 035dafe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = "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
 
 
173
 
174
  # Loading and Compiling the Model
175
  #model_path = "/content/drive/MyDrive/Pinns_Loss_file.h5"
176
+ model_path = "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