rein0421 commited on
Commit
d00caed
·
verified ·
1 Parent(s): 407a5d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 random_number = random.randint(1, 100)#これはバグってるときのデモ用、本番はコメントアウトして
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(