Spaces:
Runtime error
Runtime error
SevenhuijsenM
commited on
Commit
·
28fff52
1
Parent(s):
9f417d1
Updated
Browse files
app.py
CHANGED
@@ -84,9 +84,6 @@ def predict(code, magnitudeOfDelay, hour, iconCategory, latitude, longitude, mon
|
|
84 |
# Get the prediction
|
85 |
prediction = model.predict(df_row)[0]
|
86 |
|
87 |
-
# Remove the log transformation
|
88 |
-
prediction = prediction[0]
|
89 |
-
|
90 |
return prediction
|
91 |
|
92 |
demo = gr.Interface(
|
|
|
84 |
# Get the prediction
|
85 |
prediction = model.predict(df_row)[0]
|
86 |
|
|
|
|
|
|
|
87 |
return prediction
|
88 |
|
89 |
demo = gr.Interface(
|