Skip to content

Commit

Permalink
Merge pull request #35 from danilyef/pr2_homework_9
Browse files Browse the repository at this point in the history
PR2: Write a Gradio UI for serving your model, with tests and CI integration.
  • Loading branch information
danilyef authored Nov 25, 2024
2 parents 0e51d94 + f9a56c6 commit adc5e89
Show file tree
Hide file tree
Showing 28 changed files with 201 additions and 1,202 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: ci
name: ci-homework-6

on:
push:
push:
pull_request:

jobs:
Expand All @@ -16,6 +16,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r main_requirements.txt
pip install -r homework_6/requirements.txt
- name: Run tests
run: pytest
run: pytest homework_6 -v --tb=long
21 changes: 21 additions & 0 deletions .github/workflows/ci_homework_9.yml
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
22 changes: 22 additions & 0 deletions README.md
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.
Loading

0 comments on commit adc5e89

Please sign in to comment.