Azure Webapps not running Python developer

dwi aji 1 Reputation point
2021-04-07T07:04:55.543+00:00

I already deploy my machine learning model in azure web apps and when I try to direct to the link it said my code not deploying.The tutorial in https://learn.microsoft.com/en-us/azure/app-service/quickstart-python?tabs=bash&pivots=python-framework-flask confusing for me.I try google to see what happen but I dont get the solution in SO or other site.My model already in my github repository at server.py and house_model_pickle.pkl https://github.com/dwissaaj/HOUSE_ML .Can annyone help me what to do?Can anyone give me quick problem or other reference?

85221-screenshot-2021-04-06-222558.jpg

85137-screenshot-2021-04-06-222622.jpg

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 30,281 Reputation points Microsoft Employee Moderator
    2021-04-07T18:42:41.59+00:00

    Hi @dwi aji ,

    So in the doc you mentioned, here

    Replace <app_name> with a name that's unique across all of Azure (valid characters are a-z, 0-9, and -). A good pattern is to use a combination of your company name and an app identifier.

    **<house-predict> ** isn't a valid app name, <> are invalid characters. house-predict would be valid, but it may be taken as that would be a generic app name. Following that same tutorial, it would look more something like this at your terminal prmopt:

    git clone https://github.com/dwissaaj/HOUSE_ML.git  
      
    cd HOUSE_ML\server  
      
    az webapp up --sku F1 --name dwiaji-house-predict  
      
    az webapp browse --name dwiaji-house-predict  
    

    Regards,
    Ryan


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.