forked from tokarevsas31/ml_fastapi_tests
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from Sibbear1980/main_vika
Update README.md
- Loading branch information
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
[![Tests](https://github.com/tokarevsas31/ml_fastapi_tests/actions/workflows/python-app.yml/badge.svg)](https://github.com/tokarevsas31/ml_fastapi_tests/actions/workflows/python-app.yml) | ||
|
||
Программная инженерия II. Практическое задание к модулю 2 | ||
|
||
Цель задания: научиться использовать Branches в Git. | ||
|
||
Для задания выбрана модель определения эмоционального окраса текста | ||
Для запуска в 1-м терминале запускаем команду для запуска сервера Uvicorn: uvicorn Api:app | ||
|
||
Для запуска в 1-м терминале запускаем команду для запуска сервера Uvicorn: uvicorn Api:app | ||
Во 2-м терминале работаем с моделью посредством curl запроса: | ||
curl -X 'POST' 'http://127.0.0.1:8000/predict/' -H 'Content-Type: application/json' -d '{ "text": "It was a wonderful journey. We have visited many beautiful places and seen many sightings! I am happy!" }' | ||
|
||
Пример ответа: {"Исходный текст":"It was a wonderful journey. We have visited many beautiful places and seen many sightings! I am happy!","Результат:":"позитивный :)"} | ||
|
||
Используемые модули: (см. requirements.txt) | ||
|
||
|
||
Состав команды: | ||
1. Воробьев Василий | ||
2. Егоренкова Татьяна | ||
3. Ильиных Виктория | ||
4. Коньшина Ольга | ||
5. Шабанов Дмитрий | ||
|