abidlabs HF staff commited on
Commit
804100a
1 Parent(s): f354eee

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -1,9 +1,9 @@
1
 
2
  ---
3
- tags: [gradio-custom-component,gradio-template-Chatbot,chatbot]
4
- title: gradio_gptchatbot V0.0.2
5
- colorFrom: gray
6
- colorTo: red
7
  sdk: docker
8
  pinned: false
9
  license: apache-2.0
@@ -12,6 +12,6 @@ license: apache-2.0
12
 
13
  # Name: gradio_gptchatbot
14
 
15
- Description: a GPT-style Chatbot component
16
 
17
  Install with: pip install gradio_gptchatbot
 
1
 
2
  ---
3
+ tags: [gradio-custom-component,gradio-template-Chatbot]
4
+ title: gradio_gptchatbot V0.0.1
5
+ colorFrom: indigo
6
+ colorTo: pink
7
  sdk: docker
8
  pinned: false
9
  license: apache-2.0
 
12
 
13
  # Name: gradio_gptchatbot
14
 
15
+ Description: Python library for easily interacting with trained machine learning models
16
 
17
  Install with: pip install gradio_gptchatbot
__pycache__/app.cpython-311.pyc ADDED
Binary file (1.04 kB). View file
 
app.py CHANGED
@@ -3,12 +3,15 @@ import gradio as gr
3
  from gradio_gptchatbot import GPTChatbot
4
 
5
 
6
- example = GPTChatbot().example_inputs()
 
 
 
7
 
8
  with gr.Blocks() as demo:
9
  with gr.Row():
10
  GPTChatbot(label="Blank"), # blank component
11
- GPTChatbot(value=example, label="Populated"), # populated component
12
 
13
 
14
  demo.launch()
 
3
  from gradio_gptchatbot import GPTChatbot
4
 
5
 
6
+ example = [
7
+ ("How do I create a Gradio app?",
8
+ "You can create a Gradio app by...")
9
+ ]
10
 
11
  with gr.Blocks() as demo:
12
  with gr.Row():
13
  GPTChatbot(label="Blank"), # blank component
14
+ GPTChatbot(value=example, label="Populated", layout="panel"), # populated component
15
 
16
 
17
  demo.launch()
requirements.txt CHANGED
@@ -1 +1 @@
1
- gradio_gptchatbot-0.0.2-py3-none-any.whl
 
1
+ gradio_gptchatbot-0.0.1-py3-none-any.whl
src/backend/gradio_gptchatbot/templates/component/index.js ADDED
The diff for this file is too large to render. See raw diff
 
src/backend/gradio_gptchatbot/templates/component/style.css ADDED
The diff for this file is too large to render. See raw diff
 
src/demo/app.py CHANGED
@@ -3,12 +3,15 @@ import gradio as gr
3
  from gradio_gptchatbot import GPTChatbot
4
 
5
 
6
- example = GPTChatbot().example_inputs()
 
 
 
7
 
8
  with gr.Blocks() as demo:
9
  with gr.Row():
10
  GPTChatbot(label="Blank"), # blank component
11
- GPTChatbot(value=example, label="Populated"), # populated component
12
 
13
 
14
  demo.launch()
 
3
  from gradio_gptchatbot import GPTChatbot
4
 
5
 
6
+ example = [
7
+ ("How do I create a Gradio app?",
8
+ "You can create a Gradio app by...")
9
+ ]
10
 
11
  with gr.Blocks() as demo:
12
  with gr.Row():
13
  GPTChatbot(label="Blank"), # blank component
14
+ GPTChatbot(value=example, label="Populated", layout="panel"), # populated component
15
 
16
 
17
  demo.launch()
src/frontend/package-lock.json CHANGED
@@ -1,21 +1,21 @@
1
  {
2
  "name": "gradio_gptchatbot",
3
- "version": "0.4.5",
4
  "lockfileVersion": 3,
5
  "requires": true,
6
  "packages": {
7
  "": {
8
  "name": "gradio_gptchatbot",
9
- "version": "0.4.5",
10
  "license": "ISC",
11
  "dependencies": {
12
- "@gradio/atoms": "0.2.1",
13
  "@gradio/client": "0.8.1",
14
- "@gradio/icons": "0.2.0",
15
- "@gradio/markdown": "0.3.1",
16
- "@gradio/statustracker": "0.3.1",
17
  "@gradio/theme": "0.2.0",
18
- "@gradio/upload": "0.4.1",
19
  "@gradio/utils": "0.2.0",
20
  "@types/dompurify": "^3.0.2",
21
  "@types/katex": "^0.16.0",
@@ -37,9 +37,9 @@
37
  }
38
  },
39
  "node_modules/@esbuild/android-arm": {
40
- "version": "0.19.5",
41
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.5.tgz",
42
- "integrity": "sha512-bhvbzWFF3CwMs5tbjf3ObfGqbl/17ict2/uwOSfr3wmxDE6VdS2GqY/FuzIPe0q0bdhj65zQsvqfArI9MY6+AA==",
43
  "cpu": [
44
  "arm"
45
  ],
@@ -52,9 +52,9 @@
52
  }
53
  },
54
  "node_modules/@esbuild/android-arm64": {
55
- "version": "0.19.5",
56
- "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.5.tgz",
57
- "integrity": "sha512-5d1OkoJxnYQfmC+Zd8NBFjkhyCNYwM4n9ODrycTFY6Jk1IGiZ+tjVJDDSwDt77nK+tfpGP4T50iMtVi4dEGzhQ==",
58
  "cpu": [
59
  "arm64"
60
  ],
@@ -67,9 +67,9 @@
67
  }
68
  },
69
  "node_modules/@esbuild/android-x64": {
70
- "version": "0.19.5",
71
- "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.5.tgz",
72
- "integrity": "sha512-9t+28jHGL7uBdkBjL90QFxe7DVA+KGqWlHCF8ChTKyaKO//VLuoBricQCgwhOjA1/qOczsw843Fy4cbs4H3DVA==",
73
  "cpu": [
74
  "x64"
75
  ],
@@ -82,9 +82,9 @@
82
  }
83
  },
84
  "node_modules/@esbuild/darwin-arm64": {
85
- "version": "0.19.5",
86
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.5.tgz",
87
- "integrity": "sha512-mvXGcKqqIqyKoxq26qEDPHJuBYUA5KizJncKOAf9eJQez+L9O+KfvNFu6nl7SCZ/gFb2QPaRqqmG0doSWlgkqw==",
88
  "cpu": [
89
  "arm64"
90
  ],
@@ -97,9 +97,9 @@
97
  }
98
  },
99
  "node_modules/@esbuild/darwin-x64": {
100
- "version": "0.19.5",
101
- "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.5.tgz",
102
- "integrity": "sha512-Ly8cn6fGLNet19s0X4unjcniX24I0RqjPv+kurpXabZYSXGM4Pwpmf85WHJN3lAgB8GSth7s5A0r856S+4DyiA==",
103
  "cpu": [
104
  "x64"
105
  ],
@@ -112,9 +112,9 @@
112
  }
113
  },
114
  "node_modules/@esbuild/freebsd-arm64": {
115
- "version": "0.19.5",
116
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.5.tgz",
117
- "integrity": "sha512-GGDNnPWTmWE+DMchq1W8Sd0mUkL+APvJg3b11klSGUDvRXh70JqLAO56tubmq1s2cgpVCSKYywEiKBfju8JztQ==",
118
  "cpu": [
119
  "arm64"
120
  ],
@@ -127,9 +127,9 @@
127
  }
128
  },
129
  "node_modules/@esbuild/freebsd-x64": {
130
- "version": "0.19.5",
131
- "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.5.tgz",
132
- "integrity": "sha512-1CCwDHnSSoA0HNwdfoNY0jLfJpd7ygaLAp5EHFos3VWJCRX9DMwWODf96s9TSse39Br7oOTLryRVmBoFwXbuuQ==",
133
  "cpu": [
134
  "x64"
135
  ],
@@ -142,9 +142,9 @@
142
  }
143
  },
144
  "node_modules/@esbuild/linux-arm": {
145
- "version": "0.19.5",
146
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.5.tgz",
147
- "integrity": "sha512-lrWXLY/vJBzCPC51QN0HM71uWgIEpGSjSZZADQhq7DKhPcI6NH1IdzjfHkDQws2oNpJKpR13kv7/pFHBbDQDwQ==",
148
  "cpu": [
149
  "arm"
150
  ],
@@ -157,9 +157,9 @@
157
  }
158
  },
159
  "node_modules/@esbuild/linux-arm64": {
160
- "version": "0.19.5",
161
- "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.5.tgz",
162
- "integrity": "sha512-o3vYippBmSrjjQUCEEiTZ2l+4yC0pVJD/Dl57WfPwwlvFkrxoSO7rmBZFii6kQB3Wrn/6GwJUPLU5t52eq2meA==",
163
  "cpu": [
164
  "arm64"
165
  ],
@@ -172,9 +172,9 @@
172
  }
173
  },
174
  "node_modules/@esbuild/linux-ia32": {
175
- "version": "0.19.5",
176
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.5.tgz",
177
- "integrity": "sha512-MkjHXS03AXAkNp1KKkhSKPOCYztRtK+KXDNkBa6P78F8Bw0ynknCSClO/ztGszILZtyO/lVKpa7MolbBZ6oJtQ==",
178
  "cpu": [
179
  "ia32"
180
  ],
@@ -187,9 +187,9 @@
187
  }
188
  },
189
  "node_modules/@esbuild/linux-loong64": {
190
- "version": "0.19.5",
191
- "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.5.tgz",
192
- "integrity": "sha512-42GwZMm5oYOD/JHqHska3Jg0r+XFb/fdZRX+WjADm3nLWLcIsN27YKtqxzQmGNJgu0AyXg4HtcSK9HuOk3v1Dw==",
193
  "cpu": [
194
  "loong64"
195
  ],
@@ -202,9 +202,9 @@
202
  }
203
  },
204
  "node_modules/@esbuild/linux-mips64el": {
205
- "version": "0.19.5",
206
- "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.5.tgz",
207
- "integrity": "sha512-kcjndCSMitUuPJobWCnwQ9lLjiLZUR3QLQmlgaBfMX23UEa7ZOrtufnRds+6WZtIS9HdTXqND4yH8NLoVVIkcg==",
208
  "cpu": [
209
  "mips64el"
210
  ],
@@ -217,9 +217,9 @@
217
  }
218
  },
219
  "node_modules/@esbuild/linux-ppc64": {
220
- "version": "0.19.5",
221
- "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.5.tgz",
222
- "integrity": "sha512-yJAxJfHVm0ZbsiljbtFFP1BQKLc8kUF6+17tjQ78QjqjAQDnhULWiTA6u0FCDmYT1oOKS9PzZ2z0aBI+Mcyj7Q==",
223
  "cpu": [
224
  "ppc64"
225
  ],
@@ -232,9 +232,9 @@
232
  }
233
  },
234
  "node_modules/@esbuild/linux-riscv64": {
235
- "version": "0.19.5",
236
- "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.5.tgz",
237
- "integrity": "sha512-5u8cIR/t3gaD6ad3wNt1MNRstAZO+aNyBxu2We8X31bA8XUNyamTVQwLDA1SLoPCUehNCymhBhK3Qim1433Zag==",
238
  "cpu": [
239
  "riscv64"
240
  ],
@@ -247,9 +247,9 @@
247
  }
248
  },
249
  "node_modules/@esbuild/linux-s390x": {
250
- "version": "0.19.5",
251
- "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.5.tgz",
252
- "integrity": "sha512-Z6JrMyEw/EmZBD/OFEFpb+gao9xJ59ATsoTNlj39jVBbXqoZm4Xntu6wVmGPB/OATi1uk/DB+yeDPv2E8PqZGw==",
253
  "cpu": [
254
  "s390x"
255
  ],
@@ -262,9 +262,9 @@
262
  }
263
  },
264
  "node_modules/@esbuild/linux-x64": {
265
- "version": "0.19.5",
266
- "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.5.tgz",
267
- "integrity": "sha512-psagl+2RlK1z8zWZOmVdImisMtrUxvwereIdyJTmtmHahJTKb64pAcqoPlx6CewPdvGvUKe2Jw+0Z/0qhSbG1A==",
268
  "cpu": [
269
  "x64"
270
  ],
@@ -277,9 +277,9 @@
277
  }
278
  },
279
  "node_modules/@esbuild/netbsd-x64": {
280
- "version": "0.19.5",
281
- "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.5.tgz",
282
- "integrity": "sha512-kL2l+xScnAy/E/3119OggX8SrWyBEcqAh8aOY1gr4gPvw76la2GlD4Ymf832UCVbmuWeTf2adkZDK+h0Z/fB4g==",
283
  "cpu": [
284
  "x64"
285
  ],
@@ -292,9 +292,9 @@
292
  }
293
  },
294
  "node_modules/@esbuild/openbsd-x64": {
295
- "version": "0.19.5",
296
- "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.5.tgz",
297
- "integrity": "sha512-sPOfhtzFufQfTBgRnE1DIJjzsXukKSvZxloZbkJDG383q0awVAq600pc1nfqBcl0ice/WN9p4qLc39WhBShRTA==",
298
  "cpu": [
299
  "x64"
300
  ],
@@ -307,9 +307,9 @@
307
  }
308
  },
309
  "node_modules/@esbuild/sunos-x64": {
310
- "version": "0.19.5",
311
- "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.5.tgz",
312
- "integrity": "sha512-dGZkBXaafuKLpDSjKcB0ax0FL36YXCvJNnztjKV+6CO82tTYVDSH2lifitJ29jxRMoUhgkg9a+VA/B03WK5lcg==",
313
  "cpu": [
314
  "x64"
315
  ],
@@ -322,9 +322,9 @@
322
  }
323
  },
324
  "node_modules/@esbuild/win32-arm64": {
325
- "version": "0.19.5",
326
- "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.5.tgz",
327
- "integrity": "sha512-dWVjD9y03ilhdRQ6Xig1NWNgfLtf2o/STKTS+eZuF90fI2BhbwD6WlaiCGKptlqXlURVB5AUOxUj09LuwKGDTg==",
328
  "cpu": [
329
  "arm64"
330
  ],
@@ -337,9 +337,9 @@
337
  }
338
  },
339
  "node_modules/@esbuild/win32-ia32": {
340
- "version": "0.19.5",
341
- "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.5.tgz",
342
- "integrity": "sha512-4liggWIA4oDgUxqpZwrDhmEfAH4d0iljanDOK7AnVU89T6CzHon/ony8C5LeOdfgx60x5cnQJFZwEydVlYx4iw==",
343
  "cpu": [
344
  "ia32"
345
  ],
@@ -352,9 +352,9 @@
352
  }
353
  },
354
  "node_modules/@esbuild/win32-x64": {
355
- "version": "0.19.5",
356
- "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.5.tgz",
357
- "integrity": "sha512-czTrygUsB/jlM8qEW5MD8bgYU2Xg14lo6kBDXW6HdxKjh8M5PzETGiSHaz9MtbXBYDloHNUAUW2tMiKW4KM9Mw==",
358
  "cpu": [
359
  "x64"
360
  ],
@@ -411,11 +411,11 @@
411
  }
412
  },
413
  "node_modules/@gradio/atoms": {
414
- "version": "0.2.1",
415
- "resolved": "https://registry.npmjs.org/@gradio/atoms/-/atoms-0.2.1.tgz",
416
- "integrity": "sha512-di3kKSbjxKGngvTAaqUaA6whOVs5BFlQULlWDPq1m37VRgUD7Oq2MkIE+T+YiNAhByN93pqA0hGrWwAUUuxy5Q==",
417
  "dependencies": {
418
- "@gradio/icons": "^0.2.0",
419
  "@gradio/utils": "^0.2.0"
420
  }
421
  },
@@ -438,17 +438,17 @@
438
  "integrity": "sha512-P24nqqVnMXBaDA1f/zSN5HZRho4PxP8Dq+7VltPHlmxIEiZYik2AJ4J0LeuIha34FDO0guu/16evdrpvGIUAfw=="
439
  },
440
  "node_modules/@gradio/icons": {
441
- "version": "0.2.0",
442
- "resolved": "https://registry.npmjs.org/@gradio/icons/-/icons-0.2.0.tgz",
443
- "integrity": "sha512-rfCSmOF+ALqBOjTWL1ICasyA8JuO0MPwFrtlVMyAWp7R14AN8YChC/gbz5fZ0kNBiGGEYOOfqpKxyvC95jGGlg=="
444
  },
445
  "node_modules/@gradio/markdown": {
446
- "version": "0.3.1",
447
- "resolved": "https://registry.npmjs.org/@gradio/markdown/-/markdown-0.3.1.tgz",
448
- "integrity": "sha512-rS5vs+KY/q51QiefzveuZOvR7Dl6qsNlMRA8Z/DJ2HBMum1Pz/ntQNVFxBGxNgh9nMW+EFNS1Ey2hAjKFeHMeA==",
449
  "dependencies": {
450
- "@gradio/atoms": "^0.2.1",
451
- "@gradio/statustracker": "^0.3.1",
452
  "@gradio/utils": "^0.2.0",
453
  "@types/dompurify": "^3.0.2",
454
  "@types/katex": "^0.16.0",
@@ -461,13 +461,13 @@
461
  }
462
  },
463
  "node_modules/@gradio/statustracker": {
464
- "version": "0.3.1",
465
- "resolved": "https://registry.npmjs.org/@gradio/statustracker/-/statustracker-0.3.1.tgz",
466
- "integrity": "sha512-ZpmXZSnbgoFU2J54SrNntwfo2OEuEoRV310Q0zGVTH1VL7loziR7GuYhfIbgS8qFlrWM0MhMoLGDX+k7LAig5w==",
467
  "dependencies": {
468
- "@gradio/atoms": "^0.2.1",
469
  "@gradio/column": "^0.1.0",
470
- "@gradio/icons": "^0.2.0",
471
  "@gradio/utils": "^0.2.0"
472
  }
473
  },
@@ -477,14 +477,14 @@
477
  "integrity": "sha512-33c68Nk7oRXLn08OxPfjcPm7S4tXGOUV1I1bVgzdM2YV5o1QBOS1GEnXPZPu/CEYPePLMB6bsDwffrLEyLGWVQ=="
478
  },
479
  "node_modules/@gradio/upload": {
480
- "version": "0.4.1",
481
- "resolved": "https://registry.npmjs.org/@gradio/upload/-/upload-0.4.1.tgz",
482
- "integrity": "sha512-iXEckwathXVCDRX+Jrnc6Qu5MDK108niej9p190V7+/B3+vjjP1eCBAd881zH7JR3VHthUBjNVu5/uXZ9cVX1A==",
483
  "dependencies": {
484
- "@gradio/atoms": "^0.2.1",
485
  "@gradio/client": "^0.8.1",
486
- "@gradio/icons": "^0.2.0",
487
- "@gradio/upload": "^0.4.1",
488
  "@gradio/utils": "^0.2.0"
489
  }
490
  },
@@ -740,9 +740,9 @@
740
  }
741
  },
742
  "node_modules/esbuild": {
743
- "version": "0.19.5",
744
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.5.tgz",
745
- "integrity": "sha512-bUxalY7b1g8vNhQKdB24QDmHeY4V4tw/s6Ak5z+jJX9laP5MoQseTOMemAr0gxssjNcH0MCViG8ONI2kksvfFQ==",
746
  "hasInstallScript": true,
747
  "bin": {
748
  "esbuild": "bin/esbuild"
@@ -751,28 +751,28 @@
751
  "node": ">=12"
752
  },
753
  "optionalDependencies": {
754
- "@esbuild/android-arm": "0.19.5",
755
- "@esbuild/android-arm64": "0.19.5",
756
- "@esbuild/android-x64": "0.19.5",
757
- "@esbuild/darwin-arm64": "0.19.5",
758
- "@esbuild/darwin-x64": "0.19.5",
759
- "@esbuild/freebsd-arm64": "0.19.5",
760
- "@esbuild/freebsd-x64": "0.19.5",
761
- "@esbuild/linux-arm": "0.19.5",
762
- "@esbuild/linux-arm64": "0.19.5",
763
- "@esbuild/linux-ia32": "0.19.5",
764
- "@esbuild/linux-loong64": "0.19.5",
765
- "@esbuild/linux-mips64el": "0.19.5",
766
- "@esbuild/linux-ppc64": "0.19.5",
767
- "@esbuild/linux-riscv64": "0.19.5",
768
- "@esbuild/linux-s390x": "0.19.5",
769
- "@esbuild/linux-x64": "0.19.5",
770
- "@esbuild/netbsd-x64": "0.19.5",
771
- "@esbuild/openbsd-x64": "0.19.5",
772
- "@esbuild/sunos-x64": "0.19.5",
773
- "@esbuild/win32-arm64": "0.19.5",
774
- "@esbuild/win32-ia32": "0.19.5",
775
- "@esbuild/win32-x64": "0.19.5"
776
  }
777
  },
778
  "node_modules/estree-walker": {
@@ -936,9 +936,9 @@
936
  "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ=="
937
  },
938
  "node_modules/node-gyp-build": {
939
- "version": "4.6.1",
940
- "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.1.tgz",
941
- "integrity": "sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ==",
942
  "bin": {
943
  "node-gyp-build": "bin.js",
944
  "node-gyp-build-optional": "optional.js",
@@ -993,9 +993,9 @@
993
  }
994
  },
995
  "node_modules/svelte": {
996
- "version": "4.2.3",
997
- "resolved": "https://registry.npmjs.org/svelte/-/svelte-4.2.3.tgz",
998
- "integrity": "sha512-sqmG9KC6uUc7fb3ZuWoxXvqk6MI9Uu4ABA1M0fYDgTlFYu1k02xp96u6U9+yJZiVm84m9zge7rrA/BNZdFpOKw==",
999
  "peer": true,
1000
  "dependencies": {
1001
  "@ampproject/remapping": "^2.2.1",
 
1
  {
2
  "name": "gradio_gptchatbot",
3
+ "version": "0.4.6",
4
  "lockfileVersion": 3,
5
  "requires": true,
6
  "packages": {
7
  "": {
8
  "name": "gradio_gptchatbot",
9
+ "version": "0.4.6",
10
  "license": "ISC",
11
  "dependencies": {
12
+ "@gradio/atoms": "0.2.2",
13
  "@gradio/client": "0.8.1",
14
+ "@gradio/icons": "0.2.1",
15
+ "@gradio/markdown": "0.3.2",
16
+ "@gradio/statustracker": "0.3.2",
17
  "@gradio/theme": "0.2.0",
18
+ "@gradio/upload": "0.4.2",
19
  "@gradio/utils": "0.2.0",
20
  "@types/dompurify": "^3.0.2",
21
  "@types/katex": "^0.16.0",
 
37
  }
38
  },
39
  "node_modules/@esbuild/android-arm": {
40
+ "version": "0.19.6",
41
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.6.tgz",
42
+ "integrity": "sha512-muPzBqXJKCbMYoNbb1JpZh/ynl0xS6/+pLjrofcR3Nad82SbsCogYzUE6Aq9QT3cLP0jR/IVK/NHC9b90mSHtg==",
43
  "cpu": [
44
  "arm"
45
  ],
 
52
  }
53
  },
54
  "node_modules/@esbuild/android-arm64": {
55
+ "version": "0.19.6",
56
+ "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.6.tgz",
57
+ "integrity": "sha512-KQ/hbe9SJvIJ4sR+2PcZ41IBV+LPJyYp6V1K1P1xcMRup9iYsBoQn4MzE3mhMLOld27Au2eDcLlIREeKGUXpHQ==",
58
  "cpu": [
59
  "arm64"
60
  ],
 
67
  }
68
  },
69
  "node_modules/@esbuild/android-x64": {
70
+ "version": "0.19.6",
71
+ "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.6.tgz",
72
+ "integrity": "sha512-VVJVZQ7p5BBOKoNxd0Ly3xUM78Y4DyOoFKdkdAe2m11jbh0LEU4bPles4e/72EMl4tapko8o915UalN/5zhspg==",
73
  "cpu": [
74
  "x64"
75
  ],
 
82
  }
83
  },
84
  "node_modules/@esbuild/darwin-arm64": {
85
+ "version": "0.19.6",
86
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.6.tgz",
87
+ "integrity": "sha512-91LoRp/uZAKx6ESNspL3I46ypwzdqyDLXZH7x2QYCLgtnaU08+AXEbabY2yExIz03/am0DivsTtbdxzGejfXpA==",
88
  "cpu": [
89
  "arm64"
90
  ],
 
97
  }
98
  },
99
  "node_modules/@esbuild/darwin-x64": {
100
+ "version": "0.19.6",
101
+ "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.6.tgz",
102
+ "integrity": "sha512-QCGHw770ubjBU1J3ZkFJh671MFajGTYMZumPs9E/rqU52md6lIil97BR0CbPq6U+vTh3xnTNDHKRdR8ggHnmxQ==",
103
  "cpu": [
104
  "x64"
105
  ],
 
112
  }
113
  },
114
  "node_modules/@esbuild/freebsd-arm64": {
115
+ "version": "0.19.6",
116
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.6.tgz",
117
+ "integrity": "sha512-J53d0jGsDcLzWk9d9SPmlyF+wzVxjXpOH7jVW5ae7PvrDst4kiAz6sX+E8btz0GB6oH12zC+aHRD945jdjF2Vg==",
118
  "cpu": [
119
  "arm64"
120
  ],
 
127
  }
128
  },
129
  "node_modules/@esbuild/freebsd-x64": {
130
+ "version": "0.19.6",
131
+ "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.6.tgz",
132
+ "integrity": "sha512-hn9qvkjHSIB5Z9JgCCjED6YYVGCNpqB7dEGavBdG6EjBD8S/UcNUIlGcB35NCkMETkdYwfZSvD9VoDJX6VeUVA==",
133
  "cpu": [
134
  "x64"
135
  ],
 
142
  }
143
  },
144
  "node_modules/@esbuild/linux-arm": {
145
+ "version": "0.19.6",
146
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.6.tgz",
147
+ "integrity": "sha512-G8IR5zFgpXad/Zp7gr7ZyTKyqZuThU6z1JjmRyN1vSF8j0bOlGzUwFSMTbctLAdd7QHpeyu0cRiuKrqK1ZTwvQ==",
148
  "cpu": [
149
  "arm"
150
  ],
 
157
  }
158
  },
159
  "node_modules/@esbuild/linux-arm64": {
160
+ "version": "0.19.6",
161
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.6.tgz",
162
+ "integrity": "sha512-HQCOrk9XlH3KngASLaBfHpcoYEGUt829A9MyxaI8RMkfRA8SakG6YQEITAuwmtzFdEu5GU4eyhKcpv27dFaOBg==",
163
  "cpu": [
164
  "arm64"
165
  ],
 
172
  }
173
  },
174
  "node_modules/@esbuild/linux-ia32": {
175
+ "version": "0.19.6",
176
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.6.tgz",
177
+ "integrity": "sha512-22eOR08zL/OXkmEhxOfshfOGo8P69k8oKHkwkDrUlcB12S/sw/+COM4PhAPT0cAYW/gpqY2uXp3TpjQVJitz7w==",
178
  "cpu": [
179
  "ia32"
180
  ],
 
187
  }
188
  },
189
  "node_modules/@esbuild/linux-loong64": {
190
+ "version": "0.19.6",
191
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.6.tgz",
192
+ "integrity": "sha512-82RvaYAh/SUJyjWA8jDpyZCHQjmEggL//sC7F3VKYcBMumQjUL3C5WDl/tJpEiKtt7XrWmgjaLkrk205zfvwTA==",
193
  "cpu": [
194
  "loong64"
195
  ],
 
202
  }
203
  },
204
  "node_modules/@esbuild/linux-mips64el": {
205
+ "version": "0.19.6",
206
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.6.tgz",
207
+ "integrity": "sha512-8tvnwyYJpR618vboIv2l8tK2SuK/RqUIGMfMENkeDGo3hsEIrpGldMGYFcWxWeEILe5Fi72zoXLmhZ7PR23oQA==",
208
  "cpu": [
209
  "mips64el"
210
  ],
 
217
  }
218
  },
219
  "node_modules/@esbuild/linux-ppc64": {
220
+ "version": "0.19.6",
221
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.6.tgz",
222
+ "integrity": "sha512-Qt+D7xiPajxVNk5tQiEJwhmarNnLPdjXAoA5uWMpbfStZB0+YU6a3CtbWYSy+sgAsnyx4IGZjWsTzBzrvg/fMA==",
223
  "cpu": [
224
  "ppc64"
225
  ],
 
232
  }
233
  },
234
  "node_modules/@esbuild/linux-riscv64": {
235
+ "version": "0.19.6",
236
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.6.tgz",
237
+ "integrity": "sha512-lxRdk0iJ9CWYDH1Wpnnnc640ajF4RmQ+w6oHFZmAIYu577meE9Ka/DCtpOrwr9McMY11ocbp4jirgGgCi7Ls/g==",
238
  "cpu": [
239
  "riscv64"
240
  ],
 
247
  }
248
  },
249
  "node_modules/@esbuild/linux-s390x": {
250
+ "version": "0.19.6",
251
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.6.tgz",
252
+ "integrity": "sha512-MopyYV39vnfuykHanRWHGRcRC3AwU7b0QY4TI8ISLfAGfK+tMkXyFuyT1epw/lM0pflQlS53JoD22yN83DHZgA==",
253
  "cpu": [
254
  "s390x"
255
  ],
 
262
  }
263
  },
264
  "node_modules/@esbuild/linux-x64": {
265
+ "version": "0.19.6",
266
+ "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.6.tgz",
267
+ "integrity": "sha512-UWcieaBzsN8WYbzFF5Jq7QULETPcQvlX7KL4xWGIB54OknXJjBO37sPqk7N82WU13JGWvmDzFBi1weVBajPovg==",
268
  "cpu": [
269
  "x64"
270
  ],
 
277
  }
278
  },
279
  "node_modules/@esbuild/netbsd-x64": {
280
+ "version": "0.19.6",
281
+ "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.6.tgz",
282
+ "integrity": "sha512-EpWiLX0fzvZn1wxtLxZrEW+oQED9Pwpnh+w4Ffv8ZLuMhUoqR9q9rL4+qHW8F4Mg5oQEKxAoT0G+8JYNqCiR6g==",
283
  "cpu": [
284
  "x64"
285
  ],
 
292
  }
293
  },
294
  "node_modules/@esbuild/openbsd-x64": {
295
+ "version": "0.19.6",
296
+ "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.6.tgz",
297
+ "integrity": "sha512-fFqTVEktM1PGs2sLKH4M5mhAVEzGpeZJuasAMRnvDZNCV0Cjvm1Hu35moL2vC0DOrAQjNTvj4zWrol/lwQ8Deg==",
298
  "cpu": [
299
  "x64"
300
  ],
 
307
  }
308
  },
309
  "node_modules/@esbuild/sunos-x64": {
310
+ "version": "0.19.6",
311
+ "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.6.tgz",
312
+ "integrity": "sha512-M+XIAnBpaNvaVAhbe3uBXtgWyWynSdlww/JNZws0FlMPSBy+EpatPXNIlKAdtbFVII9OpX91ZfMb17TU3JKTBA==",
313
  "cpu": [
314
  "x64"
315
  ],
 
322
  }
323
  },
324
  "node_modules/@esbuild/win32-arm64": {
325
+ "version": "0.19.6",
326
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.6.tgz",
327
+ "integrity": "sha512-2DchFXn7vp/B6Tc2eKdTsLzE0ygqKkNUhUBCNtMx2Llk4POIVMUq5rUYjdcedFlGLeRe1uLCpVvCmE+G8XYybA==",
328
  "cpu": [
329
  "arm64"
330
  ],
 
337
  }
338
  },
339
  "node_modules/@esbuild/win32-ia32": {
340
+ "version": "0.19.6",
341
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.6.tgz",
342
+ "integrity": "sha512-PBo/HPDQllyWdjwAVX+Gl2hH0dfBydL97BAH/grHKC8fubqp02aL4S63otZ25q3sBdINtOBbz1qTZQfXbP4VBg==",
343
  "cpu": [
344
  "ia32"
345
  ],
 
352
  }
353
  },
354
  "node_modules/@esbuild/win32-x64": {
355
+ "version": "0.19.6",
356
+ "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.6.tgz",
357
+ "integrity": "sha512-OE7yIdbDif2kKfrGa+V0vx/B3FJv2L4KnIiLlvtibPyO9UkgO3rzYE0HhpREo2vmJ1Ixq1zwm9/0er+3VOSZJA==",
358
  "cpu": [
359
  "x64"
360
  ],
 
411
  }
412
  },
413
  "node_modules/@gradio/atoms": {
414
+ "version": "0.2.2",
415
+ "resolved": "https://registry.npmjs.org/@gradio/atoms/-/atoms-0.2.2.tgz",
416
+ "integrity": "sha512-tyBd1MTXGGyDFUyKSWW5L9ZpyxsORbeDB2lgDN149b+nAv5BmOSoKDMyJ11pbQJEZDRzYVLHDfkKUd9FAHA0nQ==",
417
  "dependencies": {
418
+ "@gradio/icons": "^0.2.1",
419
  "@gradio/utils": "^0.2.0"
420
  }
421
  },
 
438
  "integrity": "sha512-P24nqqVnMXBaDA1f/zSN5HZRho4PxP8Dq+7VltPHlmxIEiZYik2AJ4J0LeuIha34FDO0guu/16evdrpvGIUAfw=="
439
  },
440
  "node_modules/@gradio/icons": {
441
+ "version": "0.2.1",
442
+ "resolved": "https://registry.npmjs.org/@gradio/icons/-/icons-0.2.1.tgz",
443
+ "integrity": "sha512-qJ0mP14UZzU9lwCU+dfiHZJsOktFD1/x6VxS3BZNX7HG93M5EO3kpc6hQLy5ZMVgUmKIPKASKkaFJQYi53UJ3Q=="
444
  },
445
  "node_modules/@gradio/markdown": {
446
+ "version": "0.3.2",
447
+ "resolved": "https://registry.npmjs.org/@gradio/markdown/-/markdown-0.3.2.tgz",
448
+ "integrity": "sha512-wvb8ft8EvRzoq+/VwCUvG9EtmVtvkqP85txWJDoOGp9KTfXTp7zGG13Lrx8MT9hUewAizSlGVIwg2Ir8bv58Mg==",
449
  "dependencies": {
450
+ "@gradio/atoms": "^0.2.2",
451
+ "@gradio/statustracker": "^0.3.2",
452
  "@gradio/utils": "^0.2.0",
453
  "@types/dompurify": "^3.0.2",
454
  "@types/katex": "^0.16.0",
 
461
  }
462
  },
463
  "node_modules/@gradio/statustracker": {
464
+ "version": "0.3.2",
465
+ "resolved": "https://registry.npmjs.org/@gradio/statustracker/-/statustracker-0.3.2.tgz",
466
+ "integrity": "sha512-eb7GPGvSZ1VWIzhsGFyi1LGk8aLbafXu7QszTVebn4GE5l7VvdLWzBAqQGXA8CFJsF5y03z9Ky1vwzNkWKKX5w==",
467
  "dependencies": {
468
+ "@gradio/atoms": "^0.2.2",
469
  "@gradio/column": "^0.1.0",
470
+ "@gradio/icons": "^0.2.1",
471
  "@gradio/utils": "^0.2.0"
472
  }
473
  },
 
477
  "integrity": "sha512-33c68Nk7oRXLn08OxPfjcPm7S4tXGOUV1I1bVgzdM2YV5o1QBOS1GEnXPZPu/CEYPePLMB6bsDwffrLEyLGWVQ=="
478
  },
479
  "node_modules/@gradio/upload": {
480
+ "version": "0.4.2",
481
+ "resolved": "https://registry.npmjs.org/@gradio/upload/-/upload-0.4.2.tgz",
482
+ "integrity": "sha512-2yUN7o5AVmm9IJDcFieCG9bYFkMildTwqfnPlWlVcGKuvVHHThUpA/+nx9wDCAUhJt38Zlkp6Ye+GI1HdDSilQ==",
483
  "dependencies": {
484
+ "@gradio/atoms": "^0.2.2",
485
  "@gradio/client": "^0.8.1",
486
+ "@gradio/icons": "^0.2.1",
487
+ "@gradio/upload": "^0.4.2",
488
  "@gradio/utils": "^0.2.0"
489
  }
490
  },
 
740
  }
741
  },
742
  "node_modules/esbuild": {
743
+ "version": "0.19.6",
744
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.6.tgz",
745
+ "integrity": "sha512-Xl7dntjA2OEIvpr9j0DVxxnog2fyTGnyVoQXAMQI6eR3mf9zCQds7VIKUDCotDgE/p4ncTgeRqgX8t5d6oP4Gw==",
746
  "hasInstallScript": true,
747
  "bin": {
748
  "esbuild": "bin/esbuild"
 
751
  "node": ">=12"
752
  },
753
  "optionalDependencies": {
754
+ "@esbuild/android-arm": "0.19.6",
755
+ "@esbuild/android-arm64": "0.19.6",
756
+ "@esbuild/android-x64": "0.19.6",
757
+ "@esbuild/darwin-arm64": "0.19.6",
758
+ "@esbuild/darwin-x64": "0.19.6",
759
+ "@esbuild/freebsd-arm64": "0.19.6",
760
+ "@esbuild/freebsd-x64": "0.19.6",
761
+ "@esbuild/linux-arm": "0.19.6",
762
+ "@esbuild/linux-arm64": "0.19.6",
763
+ "@esbuild/linux-ia32": "0.19.6",
764
+ "@esbuild/linux-loong64": "0.19.6",
765
+ "@esbuild/linux-mips64el": "0.19.6",
766
+ "@esbuild/linux-ppc64": "0.19.6",
767
+ "@esbuild/linux-riscv64": "0.19.6",
768
+ "@esbuild/linux-s390x": "0.19.6",
769
+ "@esbuild/linux-x64": "0.19.6",
770
+ "@esbuild/netbsd-x64": "0.19.6",
771
+ "@esbuild/openbsd-x64": "0.19.6",
772
+ "@esbuild/sunos-x64": "0.19.6",
773
+ "@esbuild/win32-arm64": "0.19.6",
774
+ "@esbuild/win32-ia32": "0.19.6",
775
+ "@esbuild/win32-x64": "0.19.6"
776
  }
777
  },
778
  "node_modules/estree-walker": {
 
936
  "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ=="
937
  },
938
  "node_modules/node-gyp-build": {
939
+ "version": "4.7.0",
940
+ "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.7.0.tgz",
941
+ "integrity": "sha512-PbZERfeFdrHQOOXiAKOY0VPbykZy90ndPKk0d+CFDegTKmWp1VgOTz2xACVbr1BjCWxrQp68CXtvNsveFhqDJg==",
942
  "bin": {
943
  "node-gyp-build": "bin.js",
944
  "node-gyp-build-optional": "optional.js",
 
993
  }
994
  },
995
  "node_modules/svelte": {
996
+ "version": "4.2.6",
997
+ "resolved": "https://registry.npmjs.org/svelte/-/svelte-4.2.6.tgz",
998
+ "integrity": "sha512-M6GYr+9oYw3AkciFm3Q+v9IWocOb0L+2aYsOtP3mKAxVqj4RK4xJRjLdQRZi+39UowCpn53Ghr7VkFBpkRFk9g==",
999
  "peer": true,
1000
  "dependencies": {
1001
  "@ampproject/remapping": "^2.2.1",
src/frontend/package.json CHANGED
@@ -1,19 +1,19 @@
1
  {
2
  "name": "gradio_gptchatbot",
3
- "version": "0.4.5",
4
  "description": "Gradio UI packages",
5
  "type": "module",
6
  "author": "",
7
  "license": "ISC",
8
  "private": false,
9
  "dependencies": {
10
- "@gradio/atoms": "0.2.1",
11
  "@gradio/client": "0.8.1",
12
- "@gradio/icons": "0.2.0",
13
- "@gradio/markdown": "0.3.1",
14
- "@gradio/statustracker": "0.3.1",
15
  "@gradio/theme": "0.2.0",
16
- "@gradio/upload": "0.4.1",
17
  "@gradio/utils": "0.2.0",
18
  "@types/dompurify": "^3.0.2",
19
  "@types/katex": "^0.16.0",
 
1
  {
2
  "name": "gradio_gptchatbot",
3
+ "version": "0.4.6",
4
  "description": "Gradio UI packages",
5
  "type": "module",
6
  "author": "",
7
  "license": "ISC",
8
  "private": false,
9
  "dependencies": {
10
+ "@gradio/atoms": "0.2.2",
11
  "@gradio/client": "0.8.1",
12
+ "@gradio/icons": "0.2.1",
13
+ "@gradio/markdown": "0.3.2",
14
+ "@gradio/statustracker": "0.3.2",
15
  "@gradio/theme": "0.2.0",
16
+ "@gradio/upload": "0.4.2",
17
  "@gradio/utils": "0.2.0",
18
  "@types/dompurify": "^3.0.2",
19
  "@types/katex": "^0.16.0",
src/frontend/shared/ChatBot.svelte CHANGED
@@ -128,7 +128,30 @@
128
  aria-live="polite"
129
  >
130
  <div class="message-wrap" class:bubble-gap={layout === "bubble"} use:copy>
131
- {#if value !== null}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
  {#each value as message_pair, i}
133
  {#each message_pair as message, j}
134
  {#if message !== null}
@@ -550,4 +573,38 @@
550
  .message-wrap :global(pre) {
551
  position: relative;
552
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
553
  </style>
 
128
  aria-live="polite"
129
  >
130
  <div class="message-wrap" class:bubble-gap={layout === "bubble"} use:copy>
131
+ {#if value === null || value.length == 0}
132
+ <div
133
+ class={layout === "bubble" ? "bubble-wrap" : "panel-wrap"}
134
+ bind:this={div}
135
+ role="log"
136
+ aria-label="chatbot conversation"
137
+ aria-live="polite"
138
+ >
139
+ <div class="logo-container">
140
+ <img class="centered-logo" src="https://raw.githubusercontent.com/gradio-app/gradio/main/js/_website/static/favicon.png" alt="Chatbot Logo" />
141
+ </div>
142
+ <p class="placeholder-text">How can I help you today?</p>
143
+ <div class="message-wrap" class:bubble-gap={layout === "bubble"} use:copy>
144
+ <!-- Existing message elements -->
145
+ </div>
146
+ <div class="buttons-container">
147
+ <button class="action-button">Plan a trip</button>
148
+ <button class="action-button">Brainstorm names</button>
149
+ <button class="action-button">Write a spreadsheet formula</button>
150
+ <button class="action-button">Create a charter</button>
151
+ </div>
152
+ </div>
153
+
154
+ {:else}
155
  {#each value as message_pair, i}
156
  {#each message_pair as message, j}
157
  {#if message !== null}
 
573
  .message-wrap :global(pre) {
574
  position: relative;
575
  }
576
+
577
+ .logo-container {
578
+ text-align: center;
579
+ padding: 20px;
580
+ }
581
+
582
+ .centered-logo {
583
+ max-width: 150px; /* Adjust as needed */
584
+ margin: 0 auto;
585
+ }
586
+
587
+ .placeholder-text {
588
+ text-align: center;
589
+ color: #666; /* Placeholder text color */
590
+ font-size: large;
591
+ margin-bottom: 20px;
592
+ }
593
+
594
+ .buttons-container {
595
+ display: flex;
596
+ justify-content: space-evenly;
597
+ padding: 0 0;
598
+ }
599
+
600
+ .action-button {
601
+ padding: 10px 20px;
602
+ margin: 0 5px;
603
+ border: 1px solid rgb(229, 229, 229);
604
+ border-radius: 10px;
605
+ cursor: pointer;
606
+ }
607
+
608
+ /* Add responsive design or additional styling as needed */
609
+
610
  </style>
src/pyproject.toml CHANGED
@@ -8,13 +8,16 @@ build-backend = "hatchling.build"
8
 
9
  [project]
10
  name = "gradio_gptchatbot"
11
- version = "0.0.2"
12
- description = "a GPT-style Chatbot component"
13
  readme = "README.md"
14
- license = "MIT"
15
  requires-python = ">=3.8"
16
  authors = [{ name = "YOUR NAME", email = "[email protected]" }]
17
- keywords = ["gradio-custom-component", "gradio-template-Chatbot", "chatbot"]
 
 
 
18
  # Add dependencies here
19
  dependencies = ["gradio>=4.0,<5.0"]
20
  classifiers = [
@@ -36,7 +39,7 @@ classifiers = [
36
  dev = ["build", "twine"]
37
 
38
  [tool.hatch.build]
39
- artifacts = ["/backend/gradio_gptchatbot/templates", "*.pyi"]
40
 
41
  [tool.hatch.build.targets.wheel]
42
  packages = ["/backend/gradio_gptchatbot"]
 
8
 
9
  [project]
10
  name = "gradio_gptchatbot"
11
+ version = "0.0.1"
12
+ description = "Python library for easily interacting with trained machine learning models"
13
  readme = "README.md"
14
+ license = "Apache-2.0"
15
  requires-python = ">=3.8"
16
  authors = [{ name = "YOUR NAME", email = "[email protected]" }]
17
+ keywords = [
18
+ "gradio-custom-component",
19
+ "gradio-template-Chatbot"
20
+ ]
21
  # Add dependencies here
22
  dependencies = ["gradio>=4.0,<5.0"]
23
  classifiers = [
 
39
  dev = ["build", "twine"]
40
 
41
  [tool.hatch.build]
42
+ artifacts = ["/backend/gradio_gptchatbot/templates", "*.pyi", "backend/gradio_gptchatbot/templates"]
43
 
44
  [tool.hatch.build.targets.wheel]
45
  packages = ["/backend/gradio_gptchatbot"]