subatomicseer commited on
Commit
37178f4
·
1 Parent(s): 6b396d0

Update main.yml

Browse files

- added streamlit app test to workflows

Files changed (1) hide show
  1. .github/workflows/main.yml +8 -0
.github/workflows/main.yml CHANGED
@@ -17,3 +17,11 @@ jobs:
17
  - name: Run test.py
18
  run:
19
  python test.py --content_image images/content/cat.jpg --style_image images/art/asheville.jpg
 
 
 
 
 
 
 
 
 
17
  - name: Run test.py
18
  run:
19
  python test.py --content_image images/content/cat.jpg --style_image images/art/asheville.jpg
20
+
21
+ - name: Install streamlit dependencies
22
+ run: pip install -r streamlit_app/requirements.txt
23
+
24
+ - name: Run streamlit app
25
+ run: |
26
+ nohup streamlit run streamlit_app/app.py &
27
+ curl http://localhost:8501