zaibutcooler commited on
Commit
43c67e7
β€’
1 Parent(s): 2f6b26a

github workflow added

Browse files
.github/workflows/hugging-face.yaml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Uploading on Huggingface
2
+ on:
3
+ push:
4
+ branches: [main]
5
+ workflow_dispatch:
6
+
7
+ jobs:
8
+ sync-to-hub:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ with:
13
+ fetch-depth: 0
14
+ lfs: true
15
+ - name: Push to hub
16
+ env:
17
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
18
+ HF_USERNAME: zaibutcooler
19
+ SPACE_NAME: yume
20
+ run: git push --force https://zaibutcooler:[email protected]/spaces/zaibutcooler/ve-gans main
.github/workflows/{test.yaml β†’ unit-test.yaml} RENAMED
@@ -1,25 +1,25 @@
1
- name: Run Python Tests
2
 
3
  on:
4
  push:
5
  branches:
6
- - main
7
- - master
8
  jobs:
9
  test:
10
  runs-on: ubuntu-latest
11
 
12
  steps:
13
- - name: Checkout code
14
  uses: actions/checkout@v2
15
 
16
  - name: Set up Python
17
  uses: actions/setup-python@v2
18
  with:
19
- python-version: 3.8
20
 
21
  - name: Install dependencies
22
- run: pip install -r requirements.txt # Adjust this based on your project structure
23
 
24
  - name: Run tests
25
- run: python -m unittest discover tests # Adjust this based on your test discovery method
 
1
+ name: Unit Tests
2
 
3
  on:
4
  push:
5
  branches:
6
+ - "main"
7
+
8
  jobs:
9
  test:
10
  runs-on: ubuntu-latest
11
 
12
  steps:
13
+ - name: Checkout repository
14
  uses: actions/checkout@v2
15
 
16
  - name: Set up Python
17
  uses: actions/setup-python@v2
18
  with:
19
+ python-version: 3.x
20
 
21
  - name: Install dependencies
22
+ run: pip install -r requirements.txt
23
 
24
  - name: Run tests
25
+ run: python -m unittest discover tests
.vscode/settings.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "python.defaultInterpreterPath": "/Users/zaibutcooler/opt/anaconda3/bin/python3"
3
+ }
README.md CHANGED
@@ -1,3 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
  # ve-gans: Image Generation with GANs using PyTorch
2
 
3
  ## Overview
@@ -68,5 +80,5 @@ Mention any contributors or libraries that you used or were inspired by.
68
  ## Contact
69
 
70
  - Zai
71
72
  - Project Link: [https://github.com/zaibutcooler/ve-gans](https://github.com/zaibutcooler/ve-gans)
 
1
+ ---
2
+ title: Ve Gans
3
+ emoji: πŸ‘€
4
+ colorFrom: yellow
5
+ colorTo: green
6
+ sdk: streamlit
7
+ sdk_version: 1.29.0
8
+ app_file: app.py
9
+ pinned: false
10
+ license: openrail
11
+ ---
12
+
13
  # ve-gans: Image Generation with GANs using PyTorch
14
 
15
  ## Overview
 
80
  ## Contact
81
 
82
  - Zai
83
84
  - Project Link: [https://github.com/zaibutcooler/ve-gans](https://github.com/zaibutcooler/ve-gans)
setup.py CHANGED
@@ -8,15 +8,9 @@ setup(
8
  version='0.1',
9
  packages=find_packages(),
10
  install_requires=requirements,
11
- entry_points={
12
- 'console_scripts': [
13
- 've-gans-train=ve_gans.train:main',
14
- 've-gans-generate=ve_gans.generate:main',
15
- ],
16
- },
17
  author='Zai',
18
  author_email='[email protected]',
19
- description='Image generation with GANs using PyTorch',
20
  long_description='Detailed description of your project',
21
  url='https://github.com/zaibutcooler/ve-gans',
22
  classifiers=[
 
8
  version='0.1',
9
  packages=find_packages(),
10
  install_requires=requirements,
 
 
 
 
 
 
11
  author='Zai',
12
  author_email='[email protected]',
13
+ description='Floorplan generation model with pytorch',
14
  long_description='Detailed description of your project',
15
  url='https://github.com/zaibutcooler/ve-gans',
16
  classifiers=[