Lucas Ledesma commited on
Commit
158ca25
·
1 Parent(s): 57528ce

Adding token

Browse files
Files changed (2) hide show
  1. .gitignore +209 -0
  2. app.py +2 -0
.gitignore ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Byte-compiled / optimized / DLL files
2
+ **/__pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ assets/
12
+ build/
13
+ develop-eggs/
14
+ dist/
15
+ downloads/
16
+ eggs/
17
+ .eggs/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ pip-wheel-metadata/
24
+ share/python-wheels/
25
+ *.egg-info/
26
+ .installed.cfg
27
+ *.egg
28
+ MANIFEST
29
+
30
+ # PyInstaller
31
+ # Usually these files are written by a python script from a template
32
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
33
+ *.manifest
34
+ *.spec
35
+
36
+ # Installer logs
37
+ pip-log.txt
38
+ pip-delete-this-directory.txt
39
+
40
+ # Unit test / coverage reports
41
+ htmlcov/
42
+ .tox/
43
+ .nox/
44
+ .coverage
45
+ .coverage.*
46
+ .cache
47
+ nosetests.xml
48
+ coverage.xml
49
+ *.cover
50
+ *.py,cover
51
+ .hypothesis/
52
+ .pytest_cache/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ target/
76
+
77
+ # Jupyter Notebook
78
+ **/.ipynb_checkpoints/
79
+
80
+ # IPython
81
+ profile_default/
82
+ ipython_config.py
83
+
84
+ # pyenv
85
+ .python-version
86
+
87
+ # pipenv
88
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
89
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
90
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
91
+ # install all needed dependencies.
92
+ #Pipfile.lock
93
+
94
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
95
+ __pypackages__/
96
+
97
+ # Celery stuff
98
+ celerybeat-schedule
99
+ celerybeat.pid
100
+
101
+ # SageMath parsed files
102
+ *.sage.py
103
+
104
+ # Environments
105
+ .env
106
+ .venv
107
+ .gradio
108
+ env/
109
+ venv/
110
+ ENV/
111
+ env.bak/
112
+ venv.bak/
113
+
114
+ # Spyder project settings
115
+ .spyderproject
116
+ .spyproject
117
+
118
+ # Rope project settings
119
+ .ropeproject
120
+
121
+ # mkdocs documentation
122
+ /site
123
+ ssl_keys_test
124
+
125
+ # mypy
126
+ .mypy_cache/
127
+ .dmypy.json
128
+ dmypy.json
129
+
130
+ # Pyre type checker
131
+ .pyre/
132
+
133
+ # Mac
134
+ .DS_STORE
135
+ .DS_Store
136
+
137
+ # Visual Studio Code
138
+ .vscode
139
+
140
+ # PyCharm
141
+ .idea
142
+
143
+ # Eclipse PyDev
144
+ .project
145
+ .pydev_project
146
+
147
+ # Docker volumes
148
+ log/
149
+ tmp/
150
+
151
+ # Local confuse configs
152
+ *local.yaml
153
+
154
+ # Test artifacts
155
+ security/
156
+ artifacts/
157
+
158
+ # MLFlow
159
+ mlruns/
160
+ outputs/
161
+
162
+ # Other
163
+ *.pid
164
+ *.lock
165
+ .virtual_documents
166
+ output/
167
+ !output/.gitkeep
168
+ *.code-workspace
169
+ charts/
170
+ tests/pcaps/**
171
+ analysis_done/**
172
+ filtered_files/**
173
+ *.ipynb
174
+ tools/**
175
+ .idea/
176
+ report.html
177
+ ZNOTE.md
178
+ data/**
179
+
180
+ infra/helm
181
+ performance-analysis/
182
+ actions-runner/
183
+
184
+ .env
185
+ *.coverage
186
+ *.log
187
+ *local.yaml
188
+ coverage.xml
189
+ *.pid
190
+ docs_src/_site/*
191
+
192
+ #Profiling
193
+ profile.html
194
+ profile.json
195
+ .toolkit
196
+ toolkit/
197
+ notebooks
198
+
199
+
200
+ ssl_keys_config/
201
+ apps/agility_analysis_profiles/extraction_configs
202
+ apps/agility_analysis_profiles/services-config.json
203
+
204
+
205
+ venv_*
206
+ toolkit_bulk/
207
+ .devcontainer/
208
+
209
+ .linter_scope_files*
app.py CHANGED
@@ -4,6 +4,7 @@ import requests
4
  import pytz
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
 
7
 
8
  from Gradio_UI import GradioUI
9
 
@@ -46,6 +47,7 @@ max_tokens=2096,
46
  temperature=0.5,
47
  model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
48
  custom_role_conversions=None,
 
49
  )
50
 
51
 
 
4
  import pytz
5
  import yaml
6
  from tools.final_answer import FinalAnswerTool
7
+ import os
8
 
9
  from Gradio_UI import GradioUI
10
 
 
47
  temperature=0.5,
48
  model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
49
  custom_role_conversions=None,
50
+ token=os.environ["HF_TOKEN"] ,
51
  )
52
 
53