Deploy a Stremlit application on Azure Web App and swagger

Sierra Morales Sergio Felipe 20 Reputation points

I am deploying an application developed in Streamlit with Azure Web App via GitHub. The application is responsible for performing batch transcriptions, for which I use Swagger API. However, I have not been able to import it. When the application is deployed, I get the following error: "ModuleNotFoundError: No module named 'Swagger_client'". Currently, the swagger_client.whl file is hosted on GitHub, and the pip install is done in the workflow.yml. What alternatives do I have to solve the error? Thanks!

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,387 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,846 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,363 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
760 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sierra Morales Sergio Felipe 20 Reputation points

    @romungi-MSFT The following link is the reference to download and import the necessary dependencies of the API responsible for performing batch transcriptions ( However, outside the GitHub environment and the deployment of the app, local tests have been conducted with the installation of the following .WHL file (pip install path/swagger_client-1.0.0-py3-none-any.whl and import swagger_client as cris_client) that serves the same function as the API. With this setup, the project runs correctly.Let me know if you need anything else.

    0 comments No comments