Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,6 +32,3 @@ def delete_customer(customer_id: int):
|
|
| 32 |
customers_list.pop(customer_id)
|
| 33 |
return {"message": "Customer deleted successfully"}
|
| 34 |
|
| 35 |
-
if __name__ == "__main__":
|
| 36 |
-
import uvicorn
|
| 37 |
-
uvicorn.run(app)
|
|
|
|
| 32 |
customers_list.pop(customer_id)
|
| 33 |
return {"message": "Customer deleted successfully"}
|
| 34 |
|
|
|
|
|
|
|
|
|