And so here we are at the home page for modal.
At modal.com spelt model not not model which is confusing.
So what is modal.
So modal is a service that allows you to take code.
And it really can be any code and deploy it and run it remotely so that you can run it from, say,
JupyterLab or just from some Python code running on your box.
And what makes modal so powerful is that it makes it incredibly easy just to wrap up a function and
have that be called so that it's almost transparent to you.
It almost feels like you're calling a function that's running locally on your box.
And in fact, it's been called out to the cloud.
And the answer is coming back.
So it gives you such transparency, and it allows you to work almost seamlessly between your box and
the cloud.
Now, a lot of the way it works is that it also allows you to package your code into an API, and have
it running in such a way that people can use like Rest APIs to to call your code.
We're not going to do that because we're working in Python.
And this is all Python code.
And it's even easier if all you need to do is call Python functions remotely on the cloud.
Um, and whilst it is, as I say, mostly used by AI teams and for for AI as it's, as it's showing
right here AI and data and machine learning.
Um, it can also just be used for really any anything that you can write in Python, you can run on
the cloud.
Um, and so it's um, it's it's very versatile indeed.
One other thing I'll mention that makes it very powerful is that you only pay for the compute time that
you use, unlike services like, like, uh, you know, AWS or something.
Um, it's one of these, these things where it will spin up a server on demand, and if it's not used
for a while, it will, it will, it will, uh, pause that server and you'll only pay for the CPU minutes
that your server is running for.
So, uh, also the good news is that if you sign up for a new account, you get $30 of free credit,
and we won't even come close to spending that $30.
In this class.
So you don't need to be concerned about about charges.
This will be a freebie should you get addicted and you end up using modal for all sorts of purposes,
then I can't be held accountable for that.
But you will get hopefully your $30 of, uh, free credits unless they take that away.
But even if they do that, as you will see, it's not exactly an expensive proposition.
So when you go to modal comm, you'll need to sign up the first time and create an account if assuming
you don't have one already.
And once you've done that, you'll end up in a dashboard.
And this is my dashboard right here.
Um, and you can see here my live usage, um, in the time that I've been using modal to prepare for
this class that has been going on for a while and running it a number of times, I've managed to rack
up a $5 bill, uh, out of my $30 of free credit.
So I've barely scratched the surface, and even if I hadn't got the free credit, it would be a $5 price
tag for everything I've done so far.
So, as I say, it's it's cheap.
Um, here I'm looking at at apps, which are the programs that I've deployed.
And of course we're going to be building a pricer service later.
And if I go into this, you'll see that you can see all the different deployments that I've made of
this service.
And this will all make more sense when we actually do it.
And you can see it's been called apparently 116 times.
Uh, and you can see various other things about it.
Um, but really, that's it.
The one of the nice things about modal is that whilst one does have tokens and keys and all the rest
of it, you don't need to go in and set it up and write it down because it's going to do it all for
you and it's going to be very easy.
All you have to do is sign up with an account and then everything else will come.
Will will follow naturally.
Okay, so with that, once you've signed up with your modal account, do some clicking around.
You can always read the there's there's really nice docs.
There's this this guide.
You don't need to read this because we'll be doing some of this.
But it gives you a real sense.
There's a hello World program as well, but we'll be doing that ourselves as you will see.
We'll get to that in the next video.
I will see you then.