Chengkai Yang
commited on
Commit
·
d708dff
1
Parent(s):
8d06f98
Create main.yml
Browse files- .github/workflows/main.yml +19 -0
.github/workflows/main.yml
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: Test Style Transfer
|
2 |
+
|
3 |
+
on:
|
4 |
+
push:
|
5 |
+
branches: [ main ]
|
6 |
+
|
7 |
+
jobs:
|
8 |
+
build:
|
9 |
+
runs-on: ubuntu-latest
|
10 |
+
|
11 |
+
steps:
|
12 |
+
- uses: actions/checkout@v3
|
13 |
+
|
14 |
+
- name: Install dependencies
|
15 |
+
run: python install -r requirements.txt
|
16 |
+
|
17 |
+
- name: Run test.py
|
18 |
+
run:
|
19 |
+
python test.py --content_image images/content/cat.jpg --style_image images/art/asheville.jpg
|