nouman-10 commited on
Commit
b9d2b52
β€’
1 Parent(s): 8b05185

Upload 5 files

Browse files
Files changed (5) hide show
  1. .gitignore +92 -0
  2. LICENSE +10 -0
  3. README.md +57 -13
  4. packages.txt +1 -0
  5. requirements.txt +11 -0
.gitignore ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+
5
+ # C extensions
6
+ *.so
7
+
8
+ # Distribution / packaging
9
+ .Python
10
+ env/
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ *.egg-info/
23
+ .installed.cfg
24
+ *.egg
25
+
26
+ # PyInstaller
27
+ # Usually these files are written by a python script from a template
28
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
29
+ *.manifest
30
+ *.spec
31
+
32
+ # Installer logs
33
+ pip-log.txt
34
+ pip-delete-this-directory.txt
35
+
36
+ # Unit test / coverage reports
37
+ htmlcov/
38
+ .tox/
39
+ .coverage
40
+ .coverage.*
41
+ .cache
42
+ nosetests.xml
43
+ coverage.xml
44
+ *.cover
45
+
46
+ # Translations
47
+ *.mo
48
+ *.pot
49
+
50
+ # Django stuff:
51
+ *.log
52
+
53
+ # Sphinx documentation
54
+ docs/_build/
55
+
56
+ # PyBuilder
57
+ target/
58
+
59
+ # DotEnv configuration
60
+ .env
61
+
62
+ # Database
63
+ *.db
64
+ *.rdb
65
+
66
+ # Pycharm
67
+ .idea
68
+
69
+ # VS Code
70
+ .vscode/
71
+
72
+ # Spyder
73
+ .spyproject/
74
+
75
+ # Jupyter NB Checkpoints
76
+ .ipynb_checkpoints/
77
+
78
+ # exclude data from source control by default
79
+ /data/
80
+
81
+ # Mac OS-specific storage files
82
+ .DS_Store
83
+
84
+ # vim
85
+ *.swp
86
+ *.swo
87
+
88
+ # Mypy cache
89
+ .mypy_cache/
90
+
91
+ # Ignore Whoosh index directory
92
+ index/
LICENSE ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ The MIT License (MIT)
3
+ Copyright (c) 2023, Your name (or your organization/company/team)
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10
+
README.md CHANGED
@@ -1,13 +1,57 @@
1
- ---
2
- title: VQArt
3
- emoji: 🐠
4
- colorFrom: pink
5
- colorTo: purple
6
- sdk: streamlit
7
- sdk_version: 1.19.0
8
- app_file: app.py
9
- pinned: false
10
- license: other
11
- ---
12
-
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ art_chatbot
2
+ ==============================
3
+
4
+ A short description of the project.
5
+
6
+ Project Organization
7
+ ------------
8
+
9
+ β”œβ”€β”€ LICENSE
10
+ β”œβ”€β”€ Makefile <- Makefile with commands like `make data` or `make train`
11
+ β”œβ”€β”€ README.md <- The top-level README for developers using this project.
12
+ β”œβ”€β”€ data
13
+ β”‚Β Β  β”œβ”€β”€ external <- Data from third party sources.
14
+ β”‚Β Β  β”œβ”€β”€ interim <- Intermediate data that has been transformed.
15
+ β”‚Β Β  β”œβ”€β”€ processed <- The final, canonical data sets for modeling.
16
+ β”‚Β Β  └── raw <- The original, immutable data dump.
17
+ β”‚
18
+ β”œβ”€β”€ docs <- A default Sphinx project; see sphinx-doc.org for details
19
+ β”‚
20
+ β”œβ”€β”€ models <- Trained and serialized models, model predictions, or model summaries
21
+ β”‚
22
+ β”œβ”€β”€ notebooks <- Jupyter notebooks. Naming convention is a number (for ordering),
23
+ β”‚ the creator's initials, and a short `-` delimited description, e.g.
24
+ β”‚ `1.0-jqp-initial-data-exploration`.
25
+ β”‚
26
+ β”œβ”€β”€ references <- Data dictionaries, manuals, and all other explanatory materials.
27
+ β”‚
28
+ β”œβ”€β”€ reports <- Generated analysis as HTML, PDF, LaTeX, etc.
29
+ β”‚Β Β  └── figures <- Generated graphics and figures to be used in reporting
30
+ β”‚
31
+ β”œβ”€β”€ requirements.txt <- The requirements file for reproducing the analysis environment, e.g.
32
+ β”‚ generated with `pip freeze > requirements.txt`
33
+ β”‚
34
+ β”œβ”€β”€ setup.py <- makes project pip installable (pip install -e .) so src can be imported
35
+ β”œβ”€β”€ src <- Source code for use in this project.
36
+ β”‚Β Β  β”œβ”€β”€ __init__.py <- Makes src a Python module
37
+ β”‚ β”‚
38
+ β”‚Β Β  β”œβ”€β”€ data <- Scripts to download or generate data
39
+ β”‚Β Β  β”‚Β Β  └── make_dataset.py
40
+ β”‚ β”‚
41
+ β”‚Β Β  β”œβ”€β”€ features <- Scripts to turn raw data into features for modeling
42
+ β”‚Β Β  β”‚Β Β  └── build_features.py
43
+ β”‚ β”‚
44
+ β”‚Β Β  β”œβ”€β”€ models <- Scripts to train models and then use trained models to make
45
+ β”‚ β”‚ β”‚ predictions
46
+ β”‚Β Β  β”‚Β Β  β”œβ”€β”€ predict_model.py
47
+ β”‚Β Β  β”‚Β Β  └── train_model.py
48
+ β”‚ β”‚
49
+ β”‚Β Β  └── visualization <- Scripts to create exploratory and results oriented visualizations
50
+ β”‚Β Β  └── visualize.py
51
+ β”‚
52
+ └── tox.ini <- tox file with settings for running tox; see tox.readthedocs.io
53
+
54
+
55
+ --------
56
+
57
+ <p><small>Project based on the <a target="_blank" href="https://drivendata.github.io/cookiecutter-data-science/">cookiecutter data science project template</a>. #cookiecutterdatascience</small></p>
packages.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ libgl1
requirements.txt ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ python-dotenv>=0.5.1
2
+ click==8.1.3
3
+ numpy==1.24.3
4
+ Pillow==9.5.0
5
+ python-dotenv==1.0.0
6
+ streamlit==1.22.0
7
+ torch==2.0.1
8
+ tqdm==4.65.0
9
+ transformers==4.29.2
10
+ Whoosh==2.7.4
11
+ wikipedia==1.4.0