Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import pickle
|
|
2 |
import gradio as gr
|
3 |
from datetime import datetime, timedelta, timezone
|
4 |
|
5 |
-
model = pickle.load(open('model.pkl'
|
6 |
|
7 |
def preprocess_city(selected_city):
|
8 |
# Map the selected city to its one-hot encoded representation
|
|
|
2 |
import gradio as gr
|
3 |
from datetime import datetime, timedelta, timezone
|
4 |
|
5 |
+
model = pickle.load(open('model.pkl','rb'))
|
6 |
|
7 |
def preprocess_city(selected_city):
|
8 |
# Map the selected city to its one-hot encoded representation
|