# Quick and Free Ways to Deploy ML Apps with @patloeber

## Метаданные

- **Канал:** AssemblyAI
- **YouTube:** https://www.youtube.com/watch?v=ZBXNyOPv6mM
- **Дата:** 21.12.2022
- **Длительность:** 2:31
- **Просмотры:** 1,003

## Описание

The end of the year is coming close but this doesn't mean that learning should end! In the last series of the year, we are counting down to the end of the year with 15 creators. Each day a new creator will answer a community question in a quick and informative video.

Today, Patrick shows us how to deploy ML apps quickly and for free with two different services.

Check out Patrick's YouTube channel: https://www.youtube.com/@UCbXgNpp0jedKWcQiULLbDTA 
Connect with Patrick on Twitter: https://twitter.com/patloeber

▬▬▬▬▬▬▬▬▬▬▬▬ CONNECT ▬▬▬▬▬▬▬▬▬▬▬▬

🖥️ Website: https://www.assemblyai.com
🐦 Twitter: https://twitter.com/AssemblyAI
🦾 Discord: https://discord.gg/Cd8MyVJAXd
▶️  Subscribe: https://www.youtube.com/c/AssemblyAI?sub_confirmation=1
🔥 We're hiring! Check our open roles: https://www.assemblyai.com/careers

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

#MachineLearning #DeepLearning

## Содержание

### [0:00](https://www.youtube.com/watch?v=ZBXNyOPv6mM) Segment 1 (00:00 - 02:00)

foreign I'm Patrick and in this video I want to show you two ways how you can easily deploy machine learning apps for free let's get started the first option is with hugging face spaces so we create a new space give it a name then we choose our framework in this case we want to use gradual we select a public space and we create this now we say git clone and grab this command then we head over to our terminal paste in the code and clone this repository then we see the into this directory and fire up our editor that we want in this case Visual Studio code then we create our app. pi file and a requirements txt file here we put in all the requirements we need for this app here we have gradual or torch and Transformers and then we Implement our app. pi now we go back to the terminal and say git add and add all our files so here at the pi and requirements txt then we say git commit and now we say git push and simply push this to the space and now we can simply refresh this page and here the build is in process so this will take a few moments and when this is done we can test our app here so now this is running and we can say translate this text and then this will take a few moments and here we have our translated text so this is working we can also inspect our files here so here we have everything that we uploaded so it's really simple to get started with hugging face spaces and the second option is for apps that you build with streamlits then you can use streamlit cloud for free and this is equally simple so here we simply log in then we click new app and now we want to connect this with a repository that we already uploaded to GitHub so here make sure to also include the requirements txt file with all the libraries you need then specify the branch Main and the main file path so this is main. pi and then we simply click on deploy and then this is all that we need so now we can wait and now when this is deployed we have our app up and running so now you have two ways how you can deploy machine learning apps for free I hope this was helpful and I also want to recommend one book and this is machine learning with pytorch and scikit-learn by Sebastian rashka this is one of my favorite authors and teachers in this book you will learn everything you need to get started with machine learning and deep learning so I highly recommend this and again I hope you enjoyed this video and then I hope to see you next year on my channel and also on the assembly AI Channel Happy New Year

---
*Источник: https://ekstraktznaniy.ru/video/12827*