Spaces:
Build error
Build error
Commit
·
9ae02b2
1
Parent(s):
b8b4db9
Update app.py
Browse files
app.py
CHANGED
|
@@ -109,9 +109,9 @@ if __name__ == "__main__":
|
|
| 109 |
os.path.join(os.path.dirname(__file__), "assets/truck.jpg"),
|
| 110 |
os.path.join(os.path.dirname(__file__), "assets/car.jpg")
|
| 111 |
],
|
| 112 |
-
inputs=img_input,
|
| 113 |
-
outputs=[
|
| 114 |
-
fn=
|
| 115 |
cache_examples=True,
|
| 116 |
)
|
| 117 |
|
|
|
|
| 109 |
os.path.join(os.path.dirname(__file__), "assets/truck.jpg"),
|
| 110 |
os.path.join(os.path.dirname(__file__), "assets/car.jpg")
|
| 111 |
],
|
| 112 |
+
inputs=[img_input, model_type],
|
| 113 |
+
outputs=[output_label],
|
| 114 |
+
fn=make_prediction,
|
| 115 |
cache_examples=True,
|
| 116 |
)
|
| 117 |
|