Really-amin commited on
Commit
11e9a1b
·
verified ·
1 Parent(s): 88b4e44

Upload 4 files

Browse files
Files changed (2) hide show
  1. .gitignore +209 -0
  2. .streamlit/config.toml +71 -0
.gitignore ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *.so
6
+ .Python
7
+ build/
8
+ develop-eggs/
9
+ dist/
10
+ downloads/
11
+ eggs/
12
+ .eggs/
13
+ lib/
14
+ lib64/
15
+ parts/
16
+ sdist/
17
+ var/
18
+ wheels/
19
+ share/python-wheels/
20
+ *.egg-info/
21
+ .installed.cfg
22
+ *.egg
23
+ MANIFEST
24
+
25
+ # PyInstaller
26
+ *.manifest
27
+ *.spec
28
+
29
+ # Installer logs
30
+ pip-log.txt
31
+ pip-delete-this-directory.txt
32
+
33
+ # Unit test / coverage reports
34
+ htmlcov/
35
+ .tox/
36
+ .nox/
37
+ .coverage
38
+ .coverage.*
39
+ .cache
40
+ nosetests.xml
41
+ coverage.xml
42
+ *.cover
43
+ *.py,cover
44
+ .hypothesis/
45
+ .pytest_cache/
46
+ cover/
47
+
48
+ # Translations
49
+ *.mo
50
+ *.pot
51
+
52
+ # Django stuff:
53
+ *.log
54
+ local_settings.py
55
+ db.sqlite3
56
+ db.sqlite3-journal
57
+
58
+ # Flask stuff:
59
+ instance/
60
+ .webassets-cache
61
+
62
+ # Scrapy stuff:
63
+ .scrapy
64
+
65
+ # Sphinx documentation
66
+ docs/_build/
67
+
68
+ # PyBuilder
69
+ .pybuilder/
70
+ target/
71
+
72
+ # Jupyter Notebook
73
+ .ipynb_checkpoints
74
+
75
+ # IPython
76
+ profile_default/
77
+ ipython_config.py
78
+
79
+ # pyenv
80
+ .python-version
81
+
82
+ # pipenv
83
+ Pipfile.lock
84
+
85
+ # poetry
86
+ poetry.lock
87
+
88
+ # pdm
89
+ .pdm.toml
90
+
91
+ # PEP 582
92
+ __pypackages__/
93
+
94
+ # Celery stuff
95
+ celerybeat-schedule
96
+ celerybeat.pid
97
+
98
+ # SageMath parsed files
99
+ *.sage.py
100
+
101
+ # Environments
102
+ .env
103
+ .venv
104
+ env/
105
+ venv/
106
+ ENV/
107
+ env.bak/
108
+ venv.bak/
109
+
110
+ # Spyder project settings
111
+ .spyderproject
112
+ .spyproject
113
+
114
+ # Rope project settings
115
+ .ropeproject
116
+
117
+ # mkdocs documentation
118
+ /site
119
+
120
+ # mypy
121
+ .mypy_cache/
122
+ .dmypy.json
123
+ dmypy.json
124
+
125
+ # Pyre type checker
126
+ .pyre/
127
+
128
+ # pytype static type analyzer
129
+ .pytype/
130
+
131
+ # Cython debug symbols
132
+ cython_debug/
133
+
134
+ # Streamlit
135
+ .streamlit/secrets.toml
136
+
137
+ # Database files
138
+ *.db
139
+ *.sqlite
140
+ *.sqlite3
141
+ iran_legal.db*
142
+
143
+ # Log files
144
+ *.log
145
+ logs/
146
+ setup.log
147
+
148
+ # Temporary files
149
+ temp/
150
+ tmp/
151
+ *.tmp
152
+ .temp
153
+ .tmp
154
+
155
+ # OS generated files
156
+ .DS_Store
157
+ .DS_Store?
158
+ ._*
159
+ .Spotlight-V100
160
+ .Trashes
161
+ ehthumbs.db
162
+ Thumbs.db
163
+
164
+ # IDE files
165
+ .vscode/
166
+ .idea/
167
+ *.swp
168
+ *.swo
169
+ *~
170
+
171
+ # Backup files
172
+ *.bak
173
+ *.backup
174
+ backups/
175
+
176
+ # Cache directories
177
+ .cache/
178
+ cache/
179
+
180
+ # Data directories (for large datasets)
181
+ data/*.csv
182
+ data/*.json
183
+ data/*.xml
184
+ data/raw/
185
+ data/processed/
186
+
187
+ # Model files (if any)
188
+ models/
189
+ *.pkl
190
+ *.pickle
191
+ *.model
192
+
193
+ # Export files
194
+ exports/
195
+ *.zip
196
+ *.tar.gz
197
+
198
+ # Configuration files with sensitive data
199
+ config_local.json
200
+ secrets.json
201
+ api_keys.txt
202
+
203
+ # Hugging Face specific
204
+ .huggingface/
205
+ gradio_cached_examples/
206
+
207
+ # Uploaded files
208
+ uploads/
209
+ uploaded_files/
.streamlit/config.toml ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [theme]
2
+ # Primary color for interactive elements (Persian Blue)
3
+ primaryColor = "#667eea"
4
+
5
+ # Background color for the main content area
6
+ backgroundColor = "#ffffff"
7
+
8
+ # Background color for the sidebar
9
+ secondaryBackgroundColor = "#f8fafc"
10
+
11
+ # Text color
12
+ textColor = "#2d3748"
13
+
14
+ # Font family
15
+ font = "sans serif"
16
+
17
+ [server]
18
+ # Server settings optimized for Hugging Face Spaces
19
+ headless = true
20
+ port = 7860
21
+ enableCORS = false
22
+ enableXsrfProtection = false
23
+
24
+ # File watcher settings
25
+ fileWatcherType = "poll"
26
+ runOnSave = false
27
+
28
+ # Upload settings
29
+ maxUploadSize = 50
30
+ maxMessageSize = 50
31
+
32
+ [browser]
33
+ # Disable usage stats collection
34
+ gatherUsageStats = false
35
+
36
+ # Don't automatically open browser (for headless deployment)
37
+ serverAddress = "0.0.0.0"
38
+
39
+ [global]
40
+ # Development mode settings
41
+ developmentMode = false
42
+
43
+ # Show warning about deprecated features
44
+ showWarningOnDirectExecution = false
45
+
46
+ # Suppress deprecation warnings
47
+ suppressDeprecationWarnings = true
48
+
49
+ [client]
50
+ # Toolbar mode
51
+ toolbarMode = "minimal"
52
+
53
+ # Show error details
54
+ showErrorDetails = false
55
+
56
+ [runner]
57
+ # Magic commands
58
+ magicEnabled = false
59
+
60
+ # Install missing packages
61
+ installTracer = false
62
+
63
+ # Fix matplotlib backend
64
+ fixMatplotlib = true
65
+
66
+ [logger]
67
+ # Logging level
68
+ level = "error"
69
+
70
+ # Enable message cache pruning
71
+ enableCrossSiteRequestForgeryProtection = false