-
Notifications
You must be signed in to change notification settings - Fork 0
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 #35 from danilyef/pr2_homework_9
PR2: Write a Gradio UI for serving your model, with tests and CI integration.
- Loading branch information
Showing
28 changed files
with
201 additions
and
1,202 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
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: ci-homework-9 | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r homework_9/requirements.txt | ||
- name: Run tests | ||
run: pytest homework_9 -v --tb=long |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# How to start: | ||
|
||
#### create virtual environment in the root folder: | ||
```bash | ||
cd /path/to/your/root/folder | ||
python -m venv env | ||
``` | ||
|
||
#### activate virtual environment: | ||
```bash | ||
source env/bin/activate | ||
``` | ||
|
||
#### upgrade pip: | ||
```bash | ||
python -m pip install --upgrade pip | ||
``` | ||
|
||
#### install requirements: | ||
```bash | ||
pip install -r main_requirements.txt | ||
``` |
File renamed without changes.
Oops, something went wrong.