Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -23,7 +23,7 @@ print(message)
|
|
| 23 |
|
| 24 |
|
| 25 |
@app.post("/get_image_for_text")
|
| 26 |
-
async def get_image_for_text(b_id:int,product_name:str)
|
| 27 |
# main
|
| 28 |
data,message = dc.get_data(b_id = b_id , product_name = product_name)
|
| 29 |
if message=="done":
|
|
|
|
| 23 |
|
| 24 |
|
| 25 |
@app.post("/get_image_for_text")
|
| 26 |
+
async def get_image_for_text(b_id:int,product_name:str):
|
| 27 |
# main
|
| 28 |
data,message = dc.get_data(b_id = b_id , product_name = product_name)
|
| 29 |
if message=="done":
|