1
00:00:03,680 --> 00:00:04,310
Again.

2
00:00:04,640 --> 00:00:09,080
Third level two application you are going to learn.

3
00:00:10,920 --> 00:00:16,050
In this application we are going to load a text file.

4
00:00:17,410 --> 00:00:26,200
The txt file and we are going to have a summary of the content of this file.

5
00:00:26,830 --> 00:00:27,370
Okay.

6
00:00:27,370 --> 00:00:36,550
So as you see this is something you already know how to do because you have learned it in the level

7
00:00:36,550 --> 00:00:38,860
one applications section.

8
00:00:38,860 --> 00:00:43,840
But now we are doing it using this user interface.

9
00:00:43,870 --> 00:00:44,320
Okay.

10
00:00:44,320 --> 00:00:48,130
So this is the new functionality we are adding.

11
00:00:48,130 --> 00:00:56,320
Now how to upload a file in Streamlit okay so let's try this.

12
00:00:59,510 --> 00:01:13,100
We enter the OpenAI API key, and then if we click here, we can load a file, in this case, this file,

13
00:01:13,100 --> 00:01:21,350
uh, from a AI accelerator, our company that is explaining some text, you know, the different consulting

14
00:01:21,350 --> 00:01:28,220
services we provide, you know, to, to develop applications for enterprise companies, business,

15
00:01:28,220 --> 00:01:30,560
etc., etc., and the different services we have.

16
00:01:30,560 --> 00:01:31,190
Okay.

17
00:01:31,190 --> 00:01:39,860
So we are loading this text and as you see the application has generated a summary for us.

18
00:01:39,860 --> 00:01:47,540
So it says AI accelerator provides a variety of services such as artificial intelligence, audit consulting,

19
00:01:47,570 --> 00:01:48,830
training, blah blah blah blah blah.

20
00:01:49,040 --> 00:01:59,150
Okay, so you saw the functionality of the application and the new items we have added, uh, from extremely.

21
00:01:59,150 --> 00:02:05,630
Let's go and see the code you are going to download from our GitHub repository.

22
00:02:06,680 --> 00:02:10,910
As in the previous applications, we have two main files.

23
00:02:11,810 --> 00:02:14,420
In the requirements.txt file.

24
00:02:14,420 --> 00:02:21,110
We have three packages we are familiar with in the main dot pi application.

25
00:02:21,110 --> 00:02:28,550
You will see that well, you are also familiar with most of the things here.

26
00:02:29,210 --> 00:02:39,140
Because you have used most of the things here in, uh, your applications, in your level one applications.

27
00:02:39,140 --> 00:02:39,710
Okay.

28
00:02:39,710 --> 00:02:47,390
So new things, uh, like before we are importing Streamlit, but the rest of the things are mostly

29
00:02:47,390 --> 00:02:48,740
familiar to us.

30
00:02:48,740 --> 00:02:49,430
Okay?

31
00:02:49,430 --> 00:02:57,410
And remember, you know, that we are using functions in order to encapsulate a long chain logic for

32
00:02:57,410 --> 00:02:57,950
Streamlit.

33
00:02:57,950 --> 00:03:04,790
We are using the Streamlit format elements, you know, to create columns, titles, etc., etc. and

34
00:03:04,790 --> 00:03:07,580
finally we execute the main logic.

35
00:03:07,640 --> 00:03:16,610
Most of the things are, as you know, uh, familiar, uh, for you, in some cases you can see, you

36
00:03:16,610 --> 00:03:23,780
know, a new, new things that you can start investigate like this thing, for example, to upload the

37
00:03:23,780 --> 00:03:30,230
file, etc. you can start investigating these new things in the Streamlit documentation.

38
00:03:30,230 --> 00:03:35,450
You have any any question you go to ChatGPT for etc. etc. you know the drill, okay.

39
00:03:35,450 --> 00:03:43,460
And that's the convenient way for you to learn, because this is how we artificial intelligence engineers

40
00:03:43,460 --> 00:03:45,530
work on a daily basis.

41
00:03:45,530 --> 00:03:51,260
So this is going to make you more and more as an artificial intelligence engineer.

42
00:03:51,680 --> 00:04:00,650
You will learn how to solve your daily problems and you will not feel the imposter syndrome.

43
00:04:00,650 --> 00:04:04,460
You will feel like a real artificial intelligence engineer.

44
00:04:04,460 --> 00:04:05,930
We don't know everything.

45
00:04:05,930 --> 00:04:10,970
We need to find answers on a daily basis and this is how we do it.

46
00:04:10,970 --> 00:04:18,560
Okay, so in case of doubt, you go to the extremely documentation, you go to the W3 Schools.com,

47
00:04:18,560 --> 00:04:26,000
go to ChatGPT for etc., etc., etc. you know the the ways you have to, uh, go in order to find,

48
00:04:26,000 --> 00:04:26,960
uh, answers.

49
00:04:26,960 --> 00:04:27,470
Okay.

50
00:04:27,470 --> 00:04:39,410
So in this third application you will learn how to, uh, load a file, txt file in this case and create

51
00:04:39,410 --> 00:04:41,360
a summary about the content.

52
00:04:41,360 --> 00:04:50,510
Remember practice practice practice, repeat uh, make mistakes, experiment, and only go to the next

53
00:04:50,510 --> 00:04:54,470
application when you feel comfortable with this one.

