Obai33 commited on
Commit
4b74149
·
verified ·
1 Parent(s): 0358467

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -84,7 +84,7 @@ print('error not here')
84
  ##############
85
 
86
  import requests
87
-
88
  # URL of the model
89
  url = 'https://github.com/Obai33/NLP_PoemGenerationDatasets/raw/main/modelarab1.h5'
90
  # Local file path to save the model
@@ -94,8 +94,8 @@ local_filename = 'modelarab1.h5'
94
  response = requests.get(url)
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
 
 
84
  ##############
85
 
86
  import requests
87
+ '''
88
  # URL of the model
89
  url = 'https://github.com/Obai33/NLP_PoemGenerationDatasets/raw/main/modelarab1.h5'
90
  # Local file path to save the model
 
94
  response = requests.get(url)
95
  with open(local_filename, 'wb') as f:
96
  f.write(response.content)
97
+ '''
98
+ model = tf.keras.models.load_model(my_model)
99
 
100
 
101