DEV Community

Cover image for Let's Build ML Application using Streamlit and Azure in 5mins!!
SILVOJ RAJESH KUMAR
SILVOJ RAJESH KUMAR

Posted on

Let's Build ML Application using Streamlit and Azure in 5mins!!

Cognitive Services brings AI within reach of every developer—without requiring machine-learning expertise. All it takes is an API call to embed the ability to see, hear, speak, search, understand and accelerate decision-making into your apps. Enable developers of all skill levels to easily add AI capabilities to their apps-Microsoft.

Microsoft has become a cloud-based provider of AI capabilities, machine learning capabilities and sentimental analysis.
we can use the azure cognitive services to build intelligent applications
Step-1: Create a Microsoft Azure Account.

Step-2:Create a new resource
Capture
Step-3: Search for Translator in resources
Screenshot 2021-05-08 212716

   ->Give resource name
   ->Select region as eastus
   ->Select free subscription in the pricing tier
Enter fullscreen mode Exit fullscreen mode

123

Then you can see your API keys for the translator app.
get-cog-serv-keys

Step-4: Let's set up Streamlit.
Step-5:Open your command line install them
image

Step-6: There is a good Streamlit course on Udemy. It is a free course for beginners.
Let's set up our application.
image
Explore the quick start guide on the Azure page and get the code.
py code
Step-7: let's change some of the parameters and then our code will be ready.
image

Step-8: Run application:- streamlit run .py in command line.

Try out a working application here: https://share.streamlit.io/rajeshsilvoj/scripter_app/main/app1.py

Input:"

The probosci's monkey (Nasalis larvatus) is endemic to the island of Borneo, where it is found predominantly in coastal areas, near rivers and in swamp forests. It is perhaps the most aquatic of the primates and is a fairly good swimmer, capable of swimming underwater; apart from this, it is largely arboreal. This photograph is a composite of three images and shows a probosci's monkey jumping between trees in Labuk Bay in the Malaysian state of Sabah."

Translated to Italian👇:
output

Translated to Hindi👇:
ot_1

Github repo: https://github.com/rajeshsilvoj/Scripter-Article
Contact me :
Linkedin, Instagram,Github

Top comments (2)

Collapse
 
yashasaveekesarwani99 profile image
YashasaveeKesarwani99

I'm a noob in ml but this actually looks helpful

Collapse
 
rajeshsilvoj profile image
SILVOJ RAJESH KUMAR

These days there is no need to train and run ml models for basic use, we can just integrate pre-built models to our application from the cloud.
The trend nowadays is, using cloud systems to build the models with our own dataset.