Spaces:
Build error
Build error
Update main.py
Browse files515 unmodified lines516517518519520521515 unmodified lines@app.post("/Image_To_Text")def image_to_text(request: Request, input_data: InputImageToText):base64_in_immagine(input_data.base64)Version = 1if Version == 1:client = Client("https://vikhyatk-moondream1.hf.space/--replicas/av7ct/")515 unmodified lines516517518519520521522523515 unmodified lines@app.post("/Image_To_Text")def image_to_text(request: Request, input_data: InputImageToText):base64_in_immagine(input_data.base64)if input_data.input == '':input_data.input = 'Describe the image'Version = 1if Version == 1:client = Client("https://vikhyatk-moondream1.hf.space/--replicas/av7ct/")
main.py+2