Closed StrangeTcy closed 5 months ago
hi you could take a look at model_serving
branch:
https://github.com/Luodian/Otter/tree/model_serving/pipeline/serve/examples
Your suggestions on code polish is quite good and I will definitely take them to refine our code. Current issue is due to the shift from previously Otter's serving method into OtterHD's serving method.
https://github.com/Luodian/Otter/blob/8b386816ec67b15833cde3dcd1d7ca6a752d2451/pipeline/serve/gradio_web_server.py#L16 -- this no longer works since
pipeline.constants
doesn't exist. ButLOGDIR
is defined in https://github.com/Luodian/Otter/blob/8b386816ec67b15833cde3dcd1d7ca6a752d2451/pipeline/serve/serving_utils.py#L11ETA:
gradio_patch
starts with a comments sayingAdopted from https://github.com/gradio-app/gradio/blob/main/gradio/components.py
, andgradio/components.py
doesn't exist. Nor doesgradio/components/components.py
ETA: Ah, yes,
pipeline/serve/examples
doesn't exist either