Obai33 commited on
Commit
61376dc
·
verified ·
1 Parent(s): 436765e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -95,10 +95,8 @@ response = requests.get(url)
95
  with open(local_filename, 'wb') as f:
96
  f.write(response.content)
97
 
98
- try:
99
- model = tf.keras.models.load_model(local_filename)
100
- except Exception as e:
101
- print("Error loading model:", e)
102
 
103
 
104
  print('ok model loaded')
 
95
  with open(local_filename, 'wb') as f:
96
  f.write(response.content)
97
 
98
+ model = tf.keras.models.load_model(local_filename)
99
+
 
 
100
 
101
 
102
  print('ok model loaded')