Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -737,7 +737,7 @@ async def classify_image(file: UploadFile = File(...)):
|
|
737 |
new_image_cluster = classify_new_image(new_image_vector, sums_data, loaded_vectors, loaded_object_names)
|
738 |
|
739 |
#return {"danger":dangerarray[int(new_image_cluster + 1)]}#バグったらここを+にして
|
740 |
-
return
|
741 |
|
742 |
@app.post("/create-mask-and-inpaint-simple-lama-special")
|
743 |
async def create_mask_and_inpaint_simple_lama(
|
|
|
737 |
new_image_cluster = classify_new_image(new_image_vector, sums_data, loaded_vectors, loaded_object_names)
|
738 |
|
739 |
#return {"danger":dangerarray[int(new_image_cluster + 1)]}#バグったらここを+にして
|
740 |
+
return random.randint(1, 100)#これはバグってるときのデモ用、本番はコメントアウトして
|
741 |
|
742 |
@app.post("/create-mask-and-inpaint-simple-lama-special")
|
743 |
async def create_mask_and_inpaint_simple_lama(
|