TODAM-tw / todam-ticket-system

The frontend with gradio and combined with the API endpoints for the ticket system.
Apache License 2.0
0 stars 0 forks source link

[Update] Deploy Gradio without uvicorn #21

Closed 1chooo closed 1 month ago

1chooo commented 1 month ago

Update Dockerfile with following the below CMD

CMD ["python3", "app.py"]

With this command, we can launch the ticket system without using uvicorn and run the app directly.

sh1un commented 1 month ago

Hi @1chooo,

I've deployed a new version of Gradio without using uvicorn. However, there's a bug with KeyError: 'AZURE_ML_DEPLOYED_URL' that needs to be fixed. For more details about this bug, please refer to issue #24