Update app.py
Browse files
app.py
CHANGED
@@ -5,10 +5,10 @@ import pandas as pd
|
|
5 |
import tensorflow as tf
|
6 |
|
7 |
# Load the trained model
|
8 |
-
model = tf.keras.models.load_model(
|
9 |
|
10 |
# Load the original dataset to get unique categories for 'secteur' and 'city'
|
11 |
-
original_df = pd.read_excel(
|
12 |
|
13 |
# Get unique categories for 'secteur' and 'city'
|
14 |
unique_secteurs = original_df['secteur'].unique()
|
|
|
5 |
import tensorflow as tf
|
6 |
|
7 |
# Load the trained model
|
8 |
+
model = tf.keras.models.load_model("./mon_modele.bin")
|
9 |
|
10 |
# Load the original dataset to get unique categories for 'secteur' and 'city'
|
11 |
+
original_df = pd.read_excel("./Moroccan Real Estate Price Clean Dataset .xlsx") # Replace with your dataset path
|
12 |
|
13 |
# Get unique categories for 'secteur' and 'city'
|
14 |
unique_secteurs = original_df['secteur'].unique()
|