Liss, Alex (NYC-HUG) commited on
Commit
418eb7a
·
1 Parent(s): e1b3832

documentation file cleanup

Browse files
Files changed (3) hide show
  1. .streamlit/config.toml +0 -13
  2. gradio_requirements.txt +0 -12
  3. test.ipynb +0 -246
.streamlit/config.toml DELETED
@@ -1,13 +0,0 @@
1
- [theme]
2
- primaryColor = "#E31837" # 49ers red
3
- backgroundColor = "#FFFFFF"
4
- secondaryBackgroundColor = "#F5F5F5"
5
- textColor = "#262730"
6
- font = "sans serif"
7
-
8
- [server]
9
- enableCORS = false
10
- enableXsrfProtection = true
11
-
12
- [browser]
13
- gatherUsageStats = false
 
 
 
 
 
 
 
 
 
 
 
 
 
 
gradio_requirements.txt DELETED
@@ -1,12 +0,0 @@
1
- gradio>=4.0.0
2
- langchain>=0.1.0
3
- langchain-openai>=0.0.5
4
- langchain-core>=0.1.15
5
- langchain-neo4j>=0.1.1
6
- openai>=1.2.0
7
- neo4j>=5.14.0
8
- python-dotenv>=1.0.0
9
- uuid>=1.30
10
- zep-cloud>=0.1.0
11
- asyncio>=3.4.3
12
- pandas>=2.0.0
 
 
 
 
 
 
 
 
 
 
 
 
 
test.ipynb DELETED
@@ -1,246 +0,0 @@
1
- {
2
- "cells": [
3
- {
4
- "cell_type": "code",
5
- "execution_count": 1,
6
- "metadata": {},
7
- "outputs": [
8
- {
9
- "data": {
10
- "text/html": [
11
- "<style>\n",
12
- ".card {\n",
13
- " background-color: #f9f9f9;\n",
14
- " border: 1px solid #ddd;\n",
15
- " margin: 0.5rem;\n",
16
- " padding: 1rem;\n",
17
- " border-radius: 8px;\n",
18
- " width: 300px; \n",
19
- " box-sizing: border-box;\n",
20
- " font-family: sans-serif;\n",
21
- "}\n",
22
- ".player-photo {\n",
23
- " width: 80px;\n",
24
- " height: 80px;\n",
25
- " background-color: #ccc; /* placeholder if no real image */\n",
26
- " float: left;\n",
27
- " margin-right: 1rem;\n",
28
- " border-radius: 4px;\n",
29
- "}\n",
30
- ".card-content h4 {\n",
31
- " margin: 0 0 0.25rem 0;\n",
32
- " font-size: 1.1rem;\n",
33
- "}\n",
34
- ".card-content ul {\n",
35
- " margin: 0.25rem 0;\n",
36
- " padding-left: 1.2rem;\n",
37
- "}\n",
38
- ".game-recap {\n",
39
- " display: flex;\n",
40
- " align-items: center;\n",
41
- " justify-content: space-around;\n",
42
- " background-color: #f9f9f9;\n",
43
- " border: 1px solid #ddd;\n",
44
- " margin: 0.5rem;\n",
45
- " padding: 1rem;\n",
46
- " border-radius: 8px;\n",
47
- " width: 350px;\n",
48
- " box-sizing: border-box;\n",
49
- " font-family: sans-serif;\n",
50
- "}\n",
51
- ".team-block {\n",
52
- " text-align: center;\n",
53
- "}\n",
54
- ".team-block img {\n",
55
- " width: 50px;\n",
56
- " display: block;\n",
57
- " margin: 0 auto 0.25rem auto;\n",
58
- "}\n",
59
- ".team-name {\n",
60
- " font-weight: 600;\n",
61
- " font-size: 1rem;\n",
62
- "}\n",
63
- ".score {\n",
64
- " font-size: 1.2rem;\n",
65
- "}\n",
66
- ".winner .team-name {\n",
67
- " color: gold;\n",
68
- "}\n",
69
- ".summary {\n",
70
- " flex: 1;\n",
71
- " margin-left: 1rem;\n",
72
- " font-size: 0.9rem;\n",
73
- "}\n",
74
- "</style>\n",
75
- "<div class=\"card player-card\">\n",
76
- " <div class=\"player-photo\" alt=\"Deebo Samuel Photo\"></div>\n",
77
- " <div class=\"card-content\">\n",
78
- " <h4>Deebo Samuel – WR</h4>\n",
79
- " <ul>\n",
80
- " <li>2024 Season Yards: 1,050</li>\n",
81
- " <li>Touchdowns: 8</li>\n",
82
- " <li>Best Game: 150 yds vs Rams</li>\n",
83
- " </ul>\n",
84
- " </div>\n",
85
- "</div>\n",
86
- "\n",
87
- "<div class=\"game-recap\">\n",
88
- " <div class=\"team-block away\">\n",
89
- " <img src=\"\" class=\"team-logo\" alt=\"Eagles Logo\" />\n",
90
- " <div class=\"team-name\">Eagles</div>\n",
91
- " <div class=\"score\">24</div>\n",
92
- " </div>\n",
93
- " <div class=\"team-block home winner\">\n",
94
- " <img src=\"\" class=\"team-logo\" alt=\"49ers Logo\" />\n",
95
- " <div class=\"team-name\">49ers</div>\n",
96
- " <div class=\"score\">30</div>\n",
97
- " </div>\n",
98
- " <p class=\"summary\">The 49ers rallied in the 4th quarter to win at home. \n",
99
- " <b>Player of the Game:</b> Deebo Samuel with 2 TDs.</p>\n",
100
- "</div>\n"
101
- ],
102
- "text/plain": [
103
- "<IPython.core.display.HTML object>"
104
- ]
105
- },
106
- "execution_count": 1,
107
- "metadata": {},
108
- "output_type": "execute_result"
109
- }
110
- ],
111
- "source": [
112
- "import IPython.display as disp\n",
113
- "\n",
114
- "# Minimal CSS to style a player stats card and a game recap layout:\n",
115
- "css = \"\"\"\n",
116
- ".card {\n",
117
- " background-color: #f9f9f9;\n",
118
- " border: 1px solid #ddd;\n",
119
- " margin: 0.5rem;\n",
120
- " padding: 1rem;\n",
121
- " border-radius: 8px;\n",
122
- " width: 300px; \n",
123
- " box-sizing: border-box;\n",
124
- " font-family: sans-serif;\n",
125
- "}\n",
126
- ".player-photo {\n",
127
- " width: 80px;\n",
128
- " height: 80px;\n",
129
- " background-color: #ccc; /* placeholder if no real image */\n",
130
- " float: left;\n",
131
- " margin-right: 1rem;\n",
132
- " border-radius: 4px;\n",
133
- "}\n",
134
- ".card-content h4 {\n",
135
- " margin: 0 0 0.25rem 0;\n",
136
- " font-size: 1.1rem;\n",
137
- "}\n",
138
- ".card-content ul {\n",
139
- " margin: 0.25rem 0;\n",
140
- " padding-left: 1.2rem;\n",
141
- "}\n",
142
- ".game-recap {\n",
143
- " display: flex;\n",
144
- " align-items: center;\n",
145
- " justify-content: space-around;\n",
146
- " background-color: #f9f9f9;\n",
147
- " border: 1px solid #ddd;\n",
148
- " margin: 0.5rem;\n",
149
- " padding: 1rem;\n",
150
- " border-radius: 8px;\n",
151
- " width: 350px;\n",
152
- " box-sizing: border-box;\n",
153
- " font-family: sans-serif;\n",
154
- "}\n",
155
- ".team-block {\n",
156
- " text-align: center;\n",
157
- "}\n",
158
- ".team-block img {\n",
159
- " width: 50px;\n",
160
- " display: block;\n",
161
- " margin: 0 auto 0.25rem auto;\n",
162
- "}\n",
163
- ".team-name {\n",
164
- " font-weight: 600;\n",
165
- " font-size: 1rem;\n",
166
- "}\n",
167
- ".score {\n",
168
- " font-size: 1.2rem;\n",
169
- "}\n",
170
- ".winner .team-name {\n",
171
- " color: gold;\n",
172
- "}\n",
173
- ".summary {\n",
174
- " flex: 1;\n",
175
- " margin-left: 1rem;\n",
176
- " font-size: 0.9rem;\n",
177
- "}\n",
178
- "\"\"\"\n",
179
- "\n",
180
- "# Sample HTML for a player stats card:\n",
181
- "player_html = \"\"\"\n",
182
- "<div class=\"card player-card\">\n",
183
- " <div class=\"player-photo\" alt=\"Deebo Samuel Photo\"></div>\n",
184
- " <div class=\"card-content\">\n",
185
- " <h4>Deebo Samuel – WR</h4>\n",
186
- " <ul>\n",
187
- " <li>2024 Season Yards: 1,050</li>\n",
188
- " <li>Touchdowns: 8</li>\n",
189
- " <li>Best Game: 150 yds vs Rams</li>\n",
190
- " </ul>\n",
191
- " </div>\n",
192
- "</div>\n",
193
- "\"\"\"\n",
194
- "\n",
195
- "# Sample HTML for a game recap layout:\n",
196
- "game_html = \"\"\"\n",
197
- "<div class=\"game-recap\">\n",
198
- " <div class=\"team-block away\">\n",
199
- " <img src=\"\" class=\"team-logo\" alt=\"Eagles Logo\" />\n",
200
- " <div class=\"team-name\">Eagles</div>\n",
201
- " <div class=\"score\">24</div>\n",
202
- " </div>\n",
203
- " <div class=\"team-block home winner\">\n",
204
- " <img src=\"\" class=\"team-logo\" alt=\"49ers Logo\" />\n",
205
- " <div class=\"team-name\">49ers</div>\n",
206
- " <div class=\"score\">30</div>\n",
207
- " </div>\n",
208
- " <p class=\"summary\">The 49ers rallied in the 4th quarter to win at home. \n",
209
- " <b>Player of the Game:</b> Deebo Samuel with 2 TDs.</p>\n",
210
- "</div>\n",
211
- "\"\"\"\n",
212
- "\n",
213
- "rendered_html = f\"<style>{css}</style>{player_html}{game_html}\"\n",
214
- "disp.HTML(rendered_html)\n"
215
- ]
216
- },
217
- {
218
- "cell_type": "code",
219
- "execution_count": null,
220
- "metadata": {},
221
- "outputs": [],
222
- "source": []
223
- }
224
- ],
225
- "metadata": {
226
- "kernelspec": {
227
- "display_name": "base",
228
- "language": "python",
229
- "name": "python3"
230
- },
231
- "language_info": {
232
- "codemirror_mode": {
233
- "name": "ipython",
234
- "version": 3
235
- },
236
- "file_extension": ".py",
237
- "mimetype": "text/x-python",
238
- "name": "python",
239
- "nbconvert_exporter": "python",
240
- "pygments_lexer": "ipython3",
241
- "version": "3.12.7"
242
- }
243
- },
244
- "nbformat": 4,
245
- "nbformat_minor": 2
246
- }