Spaces:
Runtime error
Runtime error
jaleesahmed
commited on
Commit
·
91c3097
1
Parent(s):
982ddaf
app
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def update(array_value):
|
|
29 |
prediction_value = reg.predict(np.array([[2,2,1,3,1,2,0,1,40,1]]))
|
30 |
return f"Prediction : {prediction_value}!"
|
31 |
if array_value == "0,0,0,3,0,2,0,1,2,1":
|
32 |
-
prediction_value = reg.predict(np.array([[
|
33 |
return f"Prediction : {prediction_value}!"
|
34 |
|
35 |
with gr.Blocks() as demo:
|
|
|
29 |
prediction_value = reg.predict(np.array([[2,2,1,3,1,2,0,1,40,1]]))
|
30 |
return f"Prediction : {prediction_value}!"
|
31 |
if array_value == "0,0,0,3,0,2,0,1,2,1":
|
32 |
+
prediction_value = reg.predict(np.array([[0,0,0,3,0,2,0,1,2,1]]))
|
33 |
return f"Prediction : {prediction_value}!"
|
34 |
|
35 |
with gr.Blocks() as demo:
|