Giter VIP home page Giter VIP logo

banana-upsample's People

Contributors

gadicc avatar lucataco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

banana-upsample's Issues

input validation

e.g. currently with invalid input you might get:

[2022-11-21 16:54:27 +0000] [7] [ERROR] Exception occurred while handling uri: 'http://0.0.0.0:8000/'
Traceback (most recent call last):
  File "handle_request", line 81, in handle_request
    FutureStatic,
  File "server.py", line 36, in inference
    output = user_src.inference(model_inputs)
  File "/app.py", line 173, in inference
    startRequestId = call_inputs.get("startRequestId", None)
AttributeError: 'NoneType' object has no attribute 'get'

not obvious what's going on there unless you know the code well, we should rather emphasize the expected format like we started doing in docker-diffusers-api.

Healthcheck failed - ImportError: cannot import name 'CLOSED' from 'websockets.connection'

Hi guys! Just wondering if anyone else is facing this issue.

I just cloned this repo and tried building to prod (without any changes)

WARNING: Image Optimization Failed - cold boots may be slow.
ERROR: Healthcheck Failed, logs follow:
�#Traceback (most recent call last):
�(  File "server.py", line 6, in <module>
�&    from sanic import Sanic, response
�W  File "/opt/conda/lib/python3.8/site-packages/sanic/__init__.py", line 2, in <module>
�     from sanic.app import Sanic
�S  File "/opt/conda/lib/python3.8/site-packages/sanic/app.py", line 73, in <module>
�0    from sanic.mixins.runner import RunnerMixin
�]  File "/opt/conda/lib/python3.8/site-packages/sanic/mixins/runner.py", line 51, in <module>
�L    from sanic.server.protocols.websocket_protocol import WebSocketProtocol
�r  File "/opt/conda/lib/python3.8/site-packages/sanic/server/protocols/websocket_protocol.py", line 3, in <module>
�<    from websockets.connection import CLOSED, CLOSING, OPEN
��ImportError: cannot import name 'CLOSED' from 'websockets.connection' (/opt/conda/lib/python3.8/site-packages/websockets/connection.py)

INTERNAL ERROR: Build server encountered an unexpected error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.