Spaces:
Runtime error
Runtime error
Commit
•
e49e46a
1
Parent(s):
c763206
Upload folder using huggingface_hub
Browse files- Dockerfile +12 -0
- README.md +6 -6
- __init__.py +0 -0
- __pycache__/app.cpython-39.pyc +0 -0
- app.py +21 -0
- cities.csv +235 -0
- requirements.txt +3 -0
- src/.gitignore +9 -0
- src/backend/gradio_folium/__init__.py +4 -0
- src/backend/gradio_folium/folium.py +48 -0
- src/backend/gradio_folium/folium.pyi +44 -0
- src/backend/gradio_folium/templates/component/index.js +0 -0
- src/backend/gradio_folium/templates/component/style.css +1 -0
- src/backend/gradio_folium/templates/example/index.js +88 -0
- src/backend/gradio_folium/templates/example/style.css +1 -0
- src/demo/__init__.py +0 -0
- src/demo/app.py +21 -0
- src/demo/cities.csv +235 -0
- src/frontend/Example.svelte +19 -0
- src/frontend/Index.svelte +66 -0
- src/frontend/package-lock.json +1002 -0
- src/frontend/package.json +22 -0
- src/package-lock.json +1002 -0
- src/package.json +22 -0
- src/pyproject.toml +47 -0
Dockerfile
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
FROM python:3.9
|
3 |
+
|
4 |
+
WORKDIR /code
|
5 |
+
|
6 |
+
COPY . .
|
7 |
+
|
8 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
9 |
+
|
10 |
+
ENV PYTHONUNBUFFERED=1 GRADIO_ALLOW_FLAGGING=never GRADIO_NUM_PORTS=1 GRADIO_SERVER_NAME=0.0.0.0 GRADIO_SERVER_PORT=7860 SYSTEM=spaces
|
11 |
+
|
12 |
+
CMD ["python", "app.py"]
|
README.md
CHANGED
@@ -1,10 +1,10 @@
|
|
|
|
1 |
---
|
2 |
-
|
3 |
-
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: docker
|
7 |
pinned: false
|
|
|
8 |
---
|
9 |
-
|
10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
+
|
2 |
---
|
3 |
+
tags: [gradio-custom-component]
|
4 |
+
title: gradio_folium V0.0.1
|
5 |
+
colorFrom: blue
|
6 |
+
colorTo: purple
|
7 |
sdk: docker
|
8 |
pinned: false
|
9 |
+
license: apache-2.0
|
10 |
---
|
|
|
|
__init__.py
ADDED
File without changes
|
__pycache__/app.cpython-39.pyc
ADDED
Binary file (808 Bytes). View file
|
|
app.py
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
import gradio as gr
|
3 |
+
from gradio_folium import Folium
|
4 |
+
from folium import Map
|
5 |
+
import pandas as pd
|
6 |
+
import pathlib
|
7 |
+
|
8 |
+
df = pd.read_csv(pathlib.Path(__file__).parent / "cities.csv")
|
9 |
+
|
10 |
+
def select(df, data: gr.SelectData):
|
11 |
+
row = df.iloc[data.index[0], :]
|
12 |
+
return Map(location=[row['Latitude'], row['Longitude']])
|
13 |
+
|
14 |
+
with gr.Blocks() as demo:
|
15 |
+
gr.Markdown(("# 🗺️ Explore World Capitals with Gradio and Folium\n"
|
16 |
+
"Install this custom component with `pip install gradio_folium`"))
|
17 |
+
map = Folium(value=Map(location=[25.7617, -80.1918]), height=400)
|
18 |
+
data = gr.DataFrame(value=df, height=200)
|
19 |
+
data.select(select, data, map)
|
20 |
+
|
21 |
+
demo.launch()
|
cities.csv
ADDED
@@ -0,0 +1,235 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Country,Capital City,Latitude,Longitude,Population,Capital Type
|
2 |
+
Afghanistan,Kabul,34.5289,69.1725,4011770,Capital
|
3 |
+
Albania,Tiranë (Tirana),41.3275,19.8189,475577,Capital
|
4 |
+
Algeria,El Djazaïr (Algiers),36.7525,3.0420,2693542,Capital
|
5 |
+
American Samoa,Pago Pago,-14.2781,-170.7025,48526,Capital
|
6 |
+
Andorra,Andorra la Vella,42.5078,1.5211,22614,Capital
|
7 |
+
Angola,Luanda,-8.8368,13.2343,7774200,Capital
|
8 |
+
Anguilla,The Valley,18.2170,-63.0578,1402,Capital
|
9 |
+
Antigua and Barbuda,St. John's,17.1172,-61.8457,20764,Capital
|
10 |
+
Argentina,Buenos Aires,-34.6051,-58.4004,14966530,Capital
|
11 |
+
Armenia,Yerevan,40.1820,44.5146,1080324,Capital
|
12 |
+
Aruba,Oranjestad,12.5240,-70.0270,29877,Capital
|
13 |
+
Australia,Canberra,-35.2835,149.1281,447692,Capital
|
14 |
+
Austria,Wien (Vienna),48.2064,16.3707,1900547,Capital
|
15 |
+
Azerbaijan,Baku,40.3777,49.8920,2285729,Capital
|
16 |
+
Bahamas,Nassau,25.0582,-77.3431,279668,Capital
|
17 |
+
Bahrain,Al-Manamah (Manama),26.2154,50.5832,564631,Capital
|
18 |
+
Bangladesh,Dhaka,23.7104,90.4074,19578421,Capital
|
19 |
+
Barbados,Bridgetown,13.1000,-59.6167,89201,Capital
|
20 |
+
Belarus,Minsk,53.9000,27.5667,2004672,Capital
|
21 |
+
Belgium,Bruxelles-Brussel,50.8467,4.3499,2049510,Capital
|
22 |
+
Belize,Belmopan,17.2500,-88.7667,22964,Capital
|
23 |
+
Benin,Cotonou,6.3654,2.4183,685458,Economic Capital
|
24 |
+
Bermuda,Hamilton,32.2915,-64.7780,10073,Capital
|
25 |
+
Bhutan,Thimphu,27.4661,89.6419,203297,Capital
|
26 |
+
Bolivia (Plurinational State of),La Paz,-16.5000,-68.1500,1814087,Seat of Government
|
27 |
+
Bosnia and Herzegovina,Sarajevo,43.8486,18.3564,342577,Capital
|
28 |
+
Botswana,Gaborone,-24.6545,25.9086,269338,Capital
|
29 |
+
Brazil,Brasília,-15.7797,-47.9297,4469585,Capital
|
30 |
+
British Virgin Islands,Road Town,18.4167,-64.6167,15137,Capital
|
31 |
+
Brunei Darussalam,Bandar Seri Begawan,4.9403,114.9481,40781,Capital
|
32 |
+
Bulgaria,Sofia,42.6975,23.3242,1272418,Capital
|
33 |
+
Burkina Faso,Ouagadougou,12.3642,-1.5383,2531381,Capital
|
34 |
+
Burundi,Bujumbura,-3.3822,29.3644,898968,Capital
|
35 |
+
Cabo Verde,Praia,14.9215,-23.5087,167504,Capital
|
36 |
+
Cambodia,Phnum Pénh (Phnom Penh),11.5625,104.9160,1952329,Capital
|
37 |
+
Cameroon,Yaoundé,3.8667,11.5167,3655656,Capital
|
38 |
+
Canada,Ottawa-Gatineau,45.4166,-75.6980,1363159,Capital
|
39 |
+
Caribbean Netherlands,Kralendijk,12.1500,-68.2667,11313,Capital
|
40 |
+
Cayman Islands,George Town,19.2866,-81.3744,34875,Capital
|
41 |
+
Central African Republic,Bangui,4.3612,18.5550,850946,Capital
|
42 |
+
Chad,N'Djaména,12.1067,15.0444,1322679,Capital
|
43 |
+
Channel Islands,St. Helier,49.1880,-2.1049,34386,Capital
|
44 |
+
Channel Islands,St. Peter Port,49.4598,-2.5353,16271,Capital
|
45 |
+
Chile,Santiago,-33.4569,-70.6483,6680371,Capital
|
46 |
+
China,Beijing,39.9075,116.3972,19617963,Capital
|
47 |
+
"China, Hong Kong SAR",Hong Kong,22.2796,114.1887,7428887,Capital
|
48 |
+
"China, Macao SAR",Macao,22.2006,113.5461,632418,Capital
|
49 |
+
"China, Taiwan Province of China",Taibei,25.0470,121.5457,2705791,Others
|
50 |
+
Colombia,Bogotá,4.6097,-74.0818,10574409,Capital
|
51 |
+
Comoros,Moroni,-11.7022,43.2551,62351,Capital
|
52 |
+
Congo,Brazzaville,-4.2658,15.2832,2229693,Capital
|
53 |
+
Cook Islands,Rarotonga,-21.2300,-159.7600,13067,Capital
|
54 |
+
Costa Rica,San José,9.9278,-84.0807,1357745,Capital
|
55 |
+
Côte d'Ivoire,Abidjan,5.3453,-4.0268,4920776,Administrative Capital
|
56 |
+
Croatia,Zagreb,45.8144,15.9780,685587,Capital
|
57 |
+
Cuba,La Habana (Havana),23.1195,-82.3785,2136468,Capital
|
58 |
+
Curaçao,Willemstad,12.1084,-68.9335,144037,Capital
|
59 |
+
Cyprus,Lefkosia (Nicosia),35.1595,33.3669,269469,Capital
|
60 |
+
Czechia,Praha (Prague),50.0880,14.4208,1291552,Capital
|
61 |
+
Dem. People's Republic of Korea,P'yongyang,39.0339,125.7543,3037862,Capital
|
62 |
+
Democratic Republic of the Congo,Kinshasa,-4.3276,15.3136,13171256,Capital
|
63 |
+
Denmark,København (Copenhagen),55.6759,12.5655,1320826,Capital
|
64 |
+
Djibouti,Djibouti,11.5877,43.1447,561564,Capital
|
65 |
+
Dominica,Roseau,15.3017,-61.3881,14942,Capital
|
66 |
+
Dominican Republic,Santo Domingo,18.4896,-69.9018,3172152,Capital
|
67 |
+
Ecuador,Quito,-0.2299,-78.5250,1822397,Capital
|
68 |
+
Egypt,Al-Qahirah (Cairo),30.0392,31.2394,20076002,Capital
|
69 |
+
El Salvador,San Salvador,13.6894,-89.1872,1106698,Capital
|
70 |
+
Equatorial Guinea,Malabo,3.7500,8.7833,296770,Capital
|
71 |
+
Eritrea,Asmara,15.3333,38.9333,895863,Capital
|
72 |
+
Estonia,Tallinn,59.4370,24.7535,437027,Capital
|
73 |
+
Ethiopia,Addis Ababa,9.0250,38.7469,4399674,Capital
|
74 |
+
Faeroe Islands,Tórshavn,62.0097,-6.7716,20817,Capital
|
75 |
+
Falkland Islands (Malvinas),Stanley,-51.7012,-57.8494,2269,Others
|
76 |
+
Fiji,Suva,-18.1416,178.4415,178339,Capital
|
77 |
+
Finland,Helsinki,60.1692,24.9402,1279096,Capital
|
78 |
+
France,Paris,48.8534,2.3488,10900952,Capital
|
79 |
+
French Guiana,Cayenne,4.9333,-52.3333,57506,Capital
|
80 |
+
French Polynesia,Papeete,-17.5333,-149.5667,136005,Capital
|
81 |
+
Gabon,Libreville,0.3925,9.4537,813489,Capital
|
82 |
+
Gambia,Banjul,13.4531,-16.6794,437161,Capital
|
83 |
+
Georgia,Tbilisi,41.6941,44.8337,1077333,Capital
|
84 |
+
Germany,Berlin,52.5244,13.4105,3552123,Capital
|
85 |
+
Ghana,Accra,5.5560,-0.1969,2439389,Capital
|
86 |
+
Gibraltar,Gibraltar,36.1447,-5.3526,34733,Capital
|
87 |
+
Greece,Athínai (Athens),37.9534,23.7490,3155600,Capital
|
88 |
+
Greenland,Nuuk (Godthåb),64.1835,-51.7216,18406,Capital
|
89 |
+
Grenada,St.George's,12.0564,-61.7485,39297,Capital
|
90 |
+
Guadeloupe,Basse-Terre,15.9985,-61.7255,58397,Capital
|
91 |
+
Guam,Hagåtña,13.4757,144.7489,146905,Capital
|
92 |
+
Guatemala,Ciudad de Guatemala (Guatemala City),14.6127,-90.5307,2851104,Capital
|
93 |
+
Guinea,Conakry,9.5716,-13.6476,1843121,Capital
|
94 |
+
Guinea-Bissau,Bissau,11.8636,-15.5977,558399,Capital
|
95 |
+
Guyana,Georgetown,6.8045,-58.1553,109934,Capital
|
96 |
+
Haiti,Port-au-Prince,18.5392,-72.3350,2636763,Capital
|
97 |
+
Holy See,Vatican City,41.9024,12.4533,801,Capital
|
98 |
+
Honduras,Tegucigalpa,14.0818,-87.2068,1363041,Capital
|
99 |
+
Hungary,Budapest,47.4980,19.0399,1759497,Capital
|
100 |
+
Iceland,Reykjavík,64.1355,-21.8954,216364,Capital
|
101 |
+
India,Delhi,28.6667,77.2167,28513682,Capital
|
102 |
+
Indonesia,Jakarta,-6.2118,106.8416,10516927,Capital
|
103 |
+
Iran (Islamic Republic of),Tehran,35.6944,51.4215,8895947,Capital
|
104 |
+
Iraq,Baghdad,33.3406,44.4009,6811955,Capital
|
105 |
+
Ireland,Dublin,53.3331,-6.2489,1201426,Capital
|
106 |
+
Isle of Man,Douglas,54.1500,-4.4833,27171,Capital
|
107 |
+
Israel,Jerusalem,31.7690,35.2163,907062,Capital
|
108 |
+
Italy,Roma (Rome),41.8947,12.4811,4209710,Capital
|
109 |
+
Jamaica,Kingston,17.9970,-76.7936,589083,Capital
|
110 |
+
Japan,Tokyo,35.6895,139.6917,37468302,Capital
|
111 |
+
Jordan,Amman,31.9552,35.9450,2064582,Capital
|
112 |
+
Kazakhstan,Astana,51.1801,71.4460,1068113,Capital
|
113 |
+
Kenya,Nairobi,-1.2833,36.8167,4385853,Capital
|
114 |
+
Kiribati,Tarawa,1.3272,172.9813,64011,Capital
|
115 |
+
Kuwait,Al Kuwayt (Kuwait City),29.3697,47.9783,2989270,Capital
|
116 |
+
Kyrgyzstan,Bishkek,42.8700,74.5900,996319,Capital
|
117 |
+
Lao People's Democratic Republic,Vientiane,17.9667,102.6000,664754,Capital
|
118 |
+
Latvia,Riga,56.9460,24.1059,637089,Capital
|
119 |
+
Lebanon,Bayrut (Beirut),33.9000,35.4833,2385271,Capital
|
120 |
+
Lesotho,Maseru,-29.3167,27.4833,201851,Capital
|
121 |
+
Liberia,Monrovia,6.3005,-10.7969,1418300,Capital
|
122 |
+
Libya,Tarabulus (Tripoli),32.8752,13.1875,1157746,Capital
|
123 |
+
Liechtenstein,Vaduz,47.1415,9.5215,5470,Capital
|
124 |
+
Lithuania,Vilnius,54.6892,25.2798,536055,Capital
|
125 |
+
Luxembourg,Luxembourg,49.6117,6.1300,119752,Capital
|
126 |
+
Madagascar,Antananarivo,-18.9137,47.5361,3058387,Capital
|
127 |
+
Malawi,Lilongwe,-13.9669,33.7873,1029639,Capital
|
128 |
+
Malaysia,Kuala Lumpur,3.1412,101.6865,7563912,Capital
|
129 |
+
Maldives,Male,4.1748,73.5089,176851,Capital
|
130 |
+
Mali,Bamako,12.6500,-8.0000,2446749,Capital
|
131 |
+
Malta,Valletta,35.8997,14.5147,212768,Capital
|
132 |
+
Marshall Islands,Majuro,7.0897,171.3803,30661,Capital
|
133 |
+
Martinique,Fort-de-France,14.6089,-61.0733,79361,Capital
|
134 |
+
Mauritania,Nouakchott,18.0858,-15.9785,1205414,Capital
|
135 |
+
Mauritius,Port Louis,-20.1619,57.4989,149365,Capital
|
136 |
+
Mayotte,Mamoudzou,-12.7794,45.2272,6180,Capital
|
137 |
+
Mexico,Ciudad de México (Mexico City),19.4273,-99.1419,21580827,Capital
|
138 |
+
Micronesia (Fed. States of),Palikir,6.9174,158.1588,6996,Capital
|
139 |
+
Monaco,Monaco,43.7333,7.4167,38897,Capital
|
140 |
+
Mongolia,Ulaanbaatar,47.9077,106.8832,1520381,Capital
|
141 |
+
Montenegro,Podgorica,42.4411,19.2636,177177,Capital
|
142 |
+
Montserrat,Brades Estate,16.7918,-62.2106,472,Capital
|
143 |
+
Morocco,Rabat,34.0133,-6.8326,1846661,Capital
|
144 |
+
Mozambique,Maputo,-25.9653,32.5892,1101771,Capital
|
145 |
+
Myanmar,Nay Pyi Taw,19.7450,96.1297,500218,Capital
|
146 |
+
Namibia,Windhoek,-22.5594,17.0832,404280,Capital
|
147 |
+
Nauru,Nauru,-0.5308,166.9112,11312,Capital
|
148 |
+
Nepal,Kathmandu,27.7017,85.3206,1329732,Capital
|
149 |
+
Netherlands,Amsterdam,52.3740,4.8897,1131690,Capital
|
150 |
+
New Caledonia,Nouméa,-22.2763,166.4572,197787,Capital
|
151 |
+
New Zealand,Wellington,-41.2866,174.7756,411346,Capital
|
152 |
+
Nicaragua,Managua,12.1328,-86.2504,1047923,Capital
|
153 |
+
Niger,Niamey,13.5137,2.1098,1213781,Capital
|
154 |
+
Nigeria,Abuja,9.0574,7.4898,2918518,Capital
|
155 |
+
Niue,Alofi,-19.0585,-169.9213,727,Capital
|
156 |
+
Northern Mariana Islands,Saipan,15.2123,145.7545,50568,Capital
|
157 |
+
Norway,Oslo,59.9127,10.7461,1012225,Capital
|
158 |
+
Oman,Masqat (Muscat),23.6139,58.5922,1446563,Capital
|
159 |
+
Pakistan,Islamabad,33.7035,73.0594,1061412,Capital
|
160 |
+
Palau,Koror,7.3426,134.4789,11410,Capital
|
161 |
+
Panama,Ciudad de Panamá (Panama City),8.9958,-79.5196,1783490,Capital
|
162 |
+
Papua New Guinea,Port Moresby,-9.4431,147.1797,366862,Capital
|
163 |
+
Paraguay,Asunción,-25.3007,-57.6359,3222199,Capital
|
164 |
+
Peru,Lima,-12.0432,-77.0282,10390607,Capital
|
165 |
+
Philippines,Manila,14.6042,120.9822,13482468,Capital
|
166 |
+
Poland,Warszawa (Warsaw),52.2298,21.0118,1767798,Capital
|
167 |
+
Portugal,Lisboa (Lisbon),38.7169,-9.1399,2927316,Capital
|
168 |
+
Puerto Rico,San Juan,18.4663,-66.1057,2454337,Capital
|
169 |
+
Qatar,Ad-Dawhah (Doha),25.2747,51.5245,633401,Capital
|
170 |
+
Republic of Korea,Seoul,37.5683,126.9778,9963497,Capital
|
171 |
+
Republic of Moldova,Chişinău,47.0056,28.8575,509707,Capital
|
172 |
+
Réunion,Saint-Denis,-20.8823,55.4504,147209,Capital
|
173 |
+
Romania,Bucuresti (Bucharest),44.4328,26.1043,1821380,Capital
|
174 |
+
Russian Federation,Moskva (Moscow),55.7550,37.6218,12409738,Capital
|
175 |
+
Rwanda,Kigali,-1.9474,30.0579,1057836,Capital
|
176 |
+
Saint Helena,Jamestown,-15.9387,-5.7168,603,Capital
|
177 |
+
Saint Kitts and Nevis,Basseterre,17.2948,-62.7261,14434,Capital
|
178 |
+
Saint Lucia,Castries,14.0060,-60.9910,22258,Capital
|
179 |
+
Saint Pierre and Miquelon,Saint-Pierre,46.7738,-56.1815,5723,Capital
|
180 |
+
Saint Vincent and the Grenadines,Kingstown,13.1587,-61.2248,26636,Capital
|
181 |
+
Samoa,Apia,-13.8333,-171.7667,36066,Capital
|
182 |
+
San Marino,San Marino,43.9333,12.4500,4465,Capital
|
183 |
+
Sao Tome and Principe,São Tomé,0.3365,6.7273,80099,Capital
|
184 |
+
Saudi Arabia,Ar-Riyadh (Riyadh),24.6905,46.7096,6906595,Capital
|
185 |
+
Senegal,Dakar,14.6937,-17.4441,2978419,Capital
|
186 |
+
Serbia,Beograd (Belgrade),44.8176,20.4633,1389351,Capital
|
187 |
+
Seychelles,Victoria,-4.6167,55.4500,28091,Capital
|
188 |
+
Sierra Leone,Freetown,8.4840,-13.2299,1135949,Capital
|
189 |
+
Singapore,Singapore,1.2897,103.8501,5791901,Capital
|
190 |
+
Sint Maarten (Dutch part),Philipsburg,18.0260,-63.0458,40552,Capital
|
191 |
+
Slovakia,Bratislava,48.1482,17.1067,429920,Capital
|
192 |
+
Slovenia,Ljubljana,46.0511,14.5051,286491,Capital
|
193 |
+
Solomon Islands,Honiara,-9.4333,159.9500,81801,Capital
|
194 |
+
Somalia,Muqdisho (Mogadishu),2.0416,45.3435,2081624,Capital
|
195 |
+
South Africa,Cape Town,-33.9258,18.4232,4430367,Legislative Capital
|
196 |
+
South Sudan,Juba,4.8517,31.5825,368914,Capital
|
197 |
+
Spain,Madrid,40.4165,-3.7026,6497124,Capital
|
198 |
+
Sri Lanka,Colombo,6.9319,79.8478,599821,Capital
|
199 |
+
State of Palestine,Al-Quds[East Jerusalem],31.7834,35.2339,275086,Capital
|
200 |
+
Sudan,Al-Khartum (Khartoum),15.5518,32.5324,5534079,Capital
|
201 |
+
Suriname,Paramaribo,5.8664,-55.1668,239457,Capital
|
202 |
+
Swaziland,Mbabane,-26.3167,31.1333,68010,Capital
|
203 |
+
Sweden,Stockholm,59.3326,18.0649,1582968,Capital
|
204 |
+
Switzerland,Bern,46.9481,7.4474,422153,Capital
|
205 |
+
Syrian Arab Republic,Dimashq (Damascus),33.5086,36.3084,2319545,Capital
|
206 |
+
Tajikistan,Dushanbe,38.5358,68.7791,872653,Capital
|
207 |
+
TFYR Macedonia,Skopje,42.0000,21.4333,584208,Capital
|
208 |
+
Thailand,Krung Thep (Bangkok),13.7220,100.5252,10156316,Capital
|
209 |
+
Timor-Leste,Dili,-8.5601,125.5668,281135,Capital
|
210 |
+
Togo,Lomé,6.1375,1.2123,1745744,Capital
|
211 |
+
Tokelau,Tokelau,-9.3800,-171.2500,0,Others
|
212 |
+
Tonga,Nuku'alofa,-21.1394,-175.2032,22904,Capital
|
213 |
+
Trinidad and Tobago,Port of Spain,10.6662,-61.5166,544417,Capital
|
214 |
+
Tunisia,Tunis,36.8190,10.1658,2290777,Capital
|
215 |
+
Turkey,Ankara,39.9199,32.8543,4919074,Capital
|
216 |
+
Turkmenistan,Ashgabat,37.9500,58.3833,810186,Capital
|
217 |
+
Turks and Caicos Islands,Cockburn Town,21.4612,-71.1419,5447,Capital
|
218 |
+
Tuvalu,Funafuti,-8.5189,179.1991,7042,Capital
|
219 |
+
Uganda,Kampala,0.3163,32.5822,2986352,Capital
|
220 |
+
Ukraine,Kyiv (Kiev),50.4454,30.5186,2956706,Capital
|
221 |
+
United Arab Emirates,Abu Zaby (Abu Dhabi),24.4648,54.3618,1419699,Capital
|
222 |
+
United Kingdom,London,51.5085,-0.1257,9046485,Capital
|
223 |
+
United Republic of Tanzania,Dodoma,-6.1722,35.7395,261645,Capital
|
224 |
+
United States of America,"Washington, D.C.",38.8951,-77.0364,5206593,Capital
|
225 |
+
United States Virgin Islands,Charlotte Amalie,18.3419,-64.9307,52322,Capital
|
226 |
+
Uruguay,Montevideo,-34.8335,-56.1674,1736989,Capital
|
227 |
+
Uzbekistan,Tashkent,41.2647,69.2163,2463969,Capital
|
228 |
+
Vanuatu,Port Vila,-17.7338,168.3219,52690,Capital
|
229 |
+
Venezuela (Bolivarian Republic of),Caracas,10.4880,-66.8792,2934560,Capital
|
230 |
+
Viet Nam,Hà Noi,21.0245,105.8412,4282738,Capital
|
231 |
+
Wallis and Futuna Islands,Matu-Utu,-13.2816,-176.1745,1025,Capital
|
232 |
+
Western Sahara,El Aaiún,27.1532,-13.2014,232388,Capital
|
233 |
+
Yemen,Sana'a',15.3531,44.2078,2779317,Capital
|
234 |
+
Zambia,Lusaka,-15.4134,28.2771,2523844,Capital
|
235 |
+
Zimbabwe,Harare,-17.8294,31.0539,1515016,Capital
|
requirements.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
https://gradio-builds.s3.amazonaws.com/4.0/attempt-05/gradio-4.0.0-py3-none-any.whl
|
2 |
+
https://gradio-builds.s3.amazonaws.com/4.0/attempt-05/gradio_client-0.7.0b0-py3-none-any.whl
|
3 |
+
gradio_folium-0.0.1-py3-none-any.whl
|
src/.gitignore
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.eggs/
|
2 |
+
dist/
|
3 |
+
*.pyc
|
4 |
+
__pycache__/
|
5 |
+
*.py[cod]
|
6 |
+
*$py.class
|
7 |
+
__tmp/*
|
8 |
+
*.pyi
|
9 |
+
node_modules
|
src/backend/gradio_folium/__init__.py
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
from .folium import Folium
|
3 |
+
|
4 |
+
__all__ = ['Folium']
|
src/backend/gradio_folium/folium.py
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from __future__ import annotations
|
2 |
+
|
3 |
+
from typing import Any, Callable
|
4 |
+
from gradio.components.base import Component
|
5 |
+
from folium import Map
|
6 |
+
from gradio.data_classes import FileData
|
7 |
+
from tempfile import NamedTemporaryFile
|
8 |
+
|
9 |
+
class Folium(Component):
|
10 |
+
data_model = FileData
|
11 |
+
|
12 |
+
def __init__(self, value: Any = None,
|
13 |
+
*,
|
14 |
+
height: int | None = None,
|
15 |
+
label: str | None = None,
|
16 |
+
container: bool = True,
|
17 |
+
scale: int | None = None,
|
18 |
+
min_width: int | None = None,
|
19 |
+
visible: bool = True,
|
20 |
+
elem_id: str | None = None,
|
21 |
+
elem_classes: list[str] | str | None = None,
|
22 |
+
render: bool = True,
|
23 |
+
root_url: str | None = None,
|
24 |
+
_skip_init_processing: bool = False,
|
25 |
+
load_fn: Callable[..., Any] | None = None,
|
26 |
+
every: float | None = None):
|
27 |
+
super().__init__(value, label=label, info=None, show_label=True,
|
28 |
+
container=container, scale=scale, min_width=min_width,
|
29 |
+
visible=visible, elem_id=elem_id, elem_classes=elem_classes,
|
30 |
+
render=render, root_url=root_url,
|
31 |
+
_skip_init_processing=_skip_init_processing,
|
32 |
+
load_fn=load_fn, every=every)
|
33 |
+
self.height = height
|
34 |
+
def preprocess(self, x):
|
35 |
+
return x
|
36 |
+
|
37 |
+
def postprocess(self, x: Map):
|
38 |
+
if not x:
|
39 |
+
return None
|
40 |
+
with NamedTemporaryFile(suffix=".html", delete=False) as tmp:
|
41 |
+
x.save(tmp.name)
|
42 |
+
return FileData(name=tmp.name, is_file=True)
|
43 |
+
|
44 |
+
def example_inputs(self):
|
45 |
+
return {"info": "Do not use as input"}
|
46 |
+
|
47 |
+
def api_info(self):
|
48 |
+
return {"type": {}, "description": "any valid json"}
|
src/backend/gradio_folium/folium.pyi
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from gradio.components.base import Component
|
2 |
+
|
3 |
+
from gradio.events import Dependency
|
4 |
+
|
5 |
+
class Folium(Component):
|
6 |
+
data_model = FileData
|
7 |
+
|
8 |
+
def __init__(self, value: Any = None,
|
9 |
+
*,
|
10 |
+
height: int | None = None,
|
11 |
+
label: str | None = None,
|
12 |
+
container: bool = True,
|
13 |
+
scale: int | None = None,
|
14 |
+
min_width: int | None = None,
|
15 |
+
visible: bool = True,
|
16 |
+
elem_id: str | None = None,
|
17 |
+
elem_classes: list[str] | str | None = None,
|
18 |
+
render: bool = True,
|
19 |
+
root_url: str | None = None,
|
20 |
+
_skip_init_processing: bool = False,
|
21 |
+
load_fn: Callable[..., Any] | None = None,
|
22 |
+
every: float | None = None):
|
23 |
+
super().__init__(value, label=label, info=None, show_label=True,
|
24 |
+
container=container, scale=scale, min_width=min_width,
|
25 |
+
visible=visible, elem_id=elem_id, elem_classes=elem_classes,
|
26 |
+
render=render, root_url=root_url,
|
27 |
+
_skip_init_processing=_skip_init_processing,
|
28 |
+
load_fn=load_fn, every=every)
|
29 |
+
self.height = height
|
30 |
+
def preprocess(self, x):
|
31 |
+
return x
|
32 |
+
|
33 |
+
def postprocess(self, x: Map):
|
34 |
+
if not x:
|
35 |
+
return None
|
36 |
+
with NamedTemporaryFile(suffix=".html", delete=False) as tmp:
|
37 |
+
x.save(tmp.name)
|
38 |
+
return FileData(name=tmp.name, is_file=True)
|
39 |
+
|
40 |
+
def example_inputs(self):
|
41 |
+
return {"info": "Do not use as input"}
|
42 |
+
|
43 |
+
def api_info(self):
|
44 |
+
return {"type": {}, "description": "any valid json"}
|
src/backend/gradio_folium/templates/component/index.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
src/backend/gradio_folium/templates/component/style.css
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.block.svelte-1t38q2d{position:relative;margin:0;box-shadow:var(--block-shadow);border-width:var(--block-border-width);border-color:var(--block-border-color);border-radius:var(--block-radius);background:var(--block-background-fill);width:100%;line-height:var(--line-sm)}.block.border_focus.svelte-1t38q2d{border-color:var(--color-accent)}.padded.svelte-1t38q2d{padding:var(--block-padding)}.hidden.svelte-1t38q2d{display:none}.hide-container.svelte-1t38q2d{margin:0;box-shadow:none;--block-border-width:0;background:transparent;padding:0;overflow:visible}div.svelte-1hnfib2{margin-bottom:var(--spacing-lg);color:var(--block-info-text-color);font-weight:var(--block-info-text-weight);font-size:var(--block-info-text-size);line-height:var(--line-sm)}span.has-info.svelte-22c38v{margin-bottom:var(--spacing-xs)}span.svelte-22c38v:not(.has-info){margin-bottom:var(--spacing-lg)}span.svelte-22c38v{display:inline-block;position:relative;z-index:var(--layer-4);border:solid var(--block-title-border-width) var(--block-title-border-color);border-radius:var(--block-title-radius);background:var(--block-title-background-fill);padding:var(--block-title-padding);color:var(--block-title-text-color);font-weight:var(--block-title-text-weight);font-size:var(--block-title-text-size);line-height:var(--line-sm)}.hide.svelte-22c38v{margin:0;height:0}label.svelte-9gxdi0{display:inline-flex;align-items:center;z-index:var(--layer-2);box-shadow:var(--block-label-shadow);border:var(--block-label-border-width) solid var(--border-color-primary);border-top:none;border-left:none;border-radius:var(--block-label-radius);background:var(--block-label-background-fill);padding:var(--block-label-padding);pointer-events:none;color:var(--block-label-text-color);font-weight:var(--block-label-text-weight);font-size:var(--block-label-text-size);line-height:var(--line-sm)}.gr-group label.svelte-9gxdi0{border-top-left-radius:0}label.float.svelte-9gxdi0{position:absolute;top:var(--block-label-margin);left:var(--block-label-margin)}label.svelte-9gxdi0:not(.float){position:static;margin-top:var(--block-label-margin);margin-left:var(--block-label-margin)}.hide.svelte-9gxdi0{height:0}span.svelte-9gxdi0{opacity:.8;margin-right:var(--size-2);width:calc(var(--block-label-text-size) - 1px);height:calc(var(--block-label-text-size) - 1px)}.hide-label.svelte-9gxdi0{box-shadow:none;border-width:0;background:transparent;overflow:visible}button.svelte-lkmj4t{display:flex;justify-content:center;align-items:center;gap:1px;z-index:var(--layer-1);box-shadow:var(--shadow-drop);border:1px solid var(--button-secondary-border-color);border-radius:var(--radius-sm);background:var(--background-fill-primary);padding:2px;color:var(--block-label-text-color)}button.svelte-lkmj4t:hover{cursor:pointer;border:2px solid var(--button-secondary-border-color-hover);padding:1px;color:var(--block-label-text-color)}span.svelte-lkmj4t{padding:0 1px;font-size:10px}div.svelte-lkmj4t{padding:2px;width:14px;height:14px}.pending.svelte-lkmj4t{animation:svelte-lkmj4t-flash .5s infinite}@keyframes svelte-lkmj4t-flash{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.empty.svelte-3w3rth{display:flex;justify-content:center;align-items:center;margin-top:calc(0px - var(--size-6));height:var(--size-full)}.icon.svelte-3w3rth{opacity:.5;height:var(--size-5);color:var(--body-text-color)}.small.svelte-3w3rth{min-height:calc(var(--size-32) - 20px)}.large.svelte-3w3rth{min-height:calc(var(--size-64) - 20px)}.unpadded_box.svelte-3w3rth{margin-top:0}.small_parent.svelte-3w3rth{min-height:100%!important}.dropdown-arrow.svelte-1in5nh4{fill:var(--body-text-color);margin-right:var(--size-2);width:var(--size-5)}.wrap.svelte-8ytugg{display:flex;flex-direction:column;justify-content:center;min-height:var(--size-60);color:var(--block-label-text-color);line-height:var(--line-md)}.or.svelte-8ytugg{color:var(--body-text-color-subdued)}@media (--screen-md){.wrap.svelte-8ytugg{font-size:var(--text-lg)}}svg.svelte-43sxxs.svelte-43sxxs{width:var(--size-20);height:var(--size-20)}svg.svelte-43sxxs path.svelte-43sxxs{fill:var(--loader-color)}div.svelte-43sxxs.svelte-43sxxs{z-index:var(--layer-2)}.margin.svelte-43sxxs.svelte-43sxxs{margin:var(--size-4)}.wrap.svelte-14miwb5.svelte-14miwb5{display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:var(--layer-5);transition:opacity .1s ease-in-out;border-radius:var(--block-radius);background:var(--block-background-fill);padding:0 var(--size-6);max-height:var(--size-screen-h);overflow:hidden;pointer-events:none}.wrap.center.svelte-14miwb5.svelte-14miwb5{top:0;right:0;left:0}.wrap.default.svelte-14miwb5.svelte-14miwb5{top:0;right:0;bottom:0;left:0}.hide.svelte-14miwb5.svelte-14miwb5{opacity:0;pointer-events:none}.generating.svelte-14miwb5.svelte-14miwb5{animation:svelte-14miwb5-pulse 2s cubic-bezier(.4,0,.6,1) infinite;border:2px solid var(--color-accent);background:transparent}.translucent.svelte-14miwb5.svelte-14miwb5{background:none}@keyframes svelte-14miwb5-pulse{0%,to{opacity:1}50%{opacity:.5}}.loading.svelte-14miwb5.svelte-14miwb5{z-index:var(--layer-2);color:var(--body-text-color)}.eta-bar.svelte-14miwb5.svelte-14miwb5{position:absolute;top:0;right:0;bottom:0;left:0;transform-origin:left;opacity:.8;z-index:var(--layer-1);transition:10ms;background:var(--background-fill-secondary)}.progress-bar-wrap.svelte-14miwb5.svelte-14miwb5{border:1px solid var(--border-color-primary);background:var(--background-fill-primary);width:55.5%;height:var(--size-4)}.progress-bar.svelte-14miwb5.svelte-14miwb5{transform-origin:left;background-color:var(--loader-color);width:var(--size-full);height:var(--size-full)}.progress-level.svelte-14miwb5.svelte-14miwb5{display:flex;flex-direction:column;align-items:center;gap:1;z-index:var(--layer-2);width:var(--size-full)}.progress-level-inner.svelte-14miwb5.svelte-14miwb5{margin:var(--size-2) auto;color:var(--body-text-color);font-size:var(--text-sm);font-family:var(--font-mono)}.meta-text.svelte-14miwb5.svelte-14miwb5{position:absolute;top:0;right:0;z-index:var(--layer-2);padding:var(--size-1) var(--size-2);font-size:var(--text-sm);font-family:var(--font-mono)}.meta-text-center.svelte-14miwb5.svelte-14miwb5{display:flex;position:absolute;top:0;right:0;justify-content:center;align-items:center;transform:translateY(var(--size-6));z-index:var(--layer-2);padding:var(--size-1) var(--size-2);font-size:var(--text-sm);font-family:var(--font-mono);text-align:center}.error.svelte-14miwb5.svelte-14miwb5{box-shadow:var(--shadow-drop);border:solid 1px var(--error-border-color);border-radius:var(--radius-full);background:var(--error-background-fill);padding-right:var(--size-4);padding-left:var(--size-4);color:var(--error-text-color);font-weight:var(--weight-semibold);font-size:var(--text-lg);line-height:var(--line-lg);font-family:var(--font)}.minimal.svelte-14miwb5 .progress-text.svelte-14miwb5{background:var(--block-background-fill)}.border.svelte-14miwb5.svelte-14miwb5{border:1px solid var(--border-color-primary)}.toast-body.svelte-solcu7{display:flex;position:relative;right:0;left:0;align-items:center;margin:var(--size-6) var(--size-4);margin:auto;border-radius:var(--container-radius);overflow:hidden;pointer-events:auto}.toast-body.error.svelte-solcu7{border:1px solid var(--color-red-700);background:var(--color-red-50)}.dark .toast-body.error.svelte-solcu7{border:1px solid var(--color-red-500);background-color:var(--color-grey-950)}.toast-body.warning.svelte-solcu7{border:1px solid var(--color-yellow-700);background:var(--color-yellow-50)}.dark .toast-body.warning.svelte-solcu7{border:1px solid var(--color-yellow-500);background-color:var(--color-grey-950)}.toast-body.info.svelte-solcu7{border:1px solid var(--color-grey-700);background:var(--color-grey-50)}.dark .toast-body.info.svelte-solcu7{border:1px solid var(--color-grey-500);background-color:var(--color-grey-950)}.toast-title.svelte-solcu7{display:flex;align-items:center;font-weight:var(--weight-bold);font-size:var(--text-lg);line-height:var(--line-sm);text-transform:capitalize}.toast-title.error.svelte-solcu7{color:var(--color-red-700)}.dark .toast-title.error.svelte-solcu7{color:var(--color-red-50)}.toast-title.warning.svelte-solcu7{color:var(--color-yellow-700)}.dark .toast-title.warning.svelte-solcu7{color:var(--color-yellow-50)}.toast-title.info.svelte-solcu7{color:var(--color-grey-700)}.dark .toast-title.info.svelte-solcu7{color:var(--color-grey-50)}.toast-close.svelte-solcu7{margin:0 var(--size-3);border-radius:var(--size-3);padding:0px var(--size-1-5);font-size:var(--size-5);line-height:var(--size-5)}.toast-close.error.svelte-solcu7{color:var(--color-red-700)}.dark .toast-close.error.svelte-solcu7{color:var(--color-red-500)}.toast-close.warning.svelte-solcu7{color:var(--color-yellow-700)}.dark .toast-close.warning.svelte-solcu7{color:var(--color-yellow-500)}.toast-close.info.svelte-solcu7{color:var(--color-grey-700)}.dark .toast-close.info.svelte-solcu7{color:var(--color-grey-500)}.toast-text.svelte-solcu7{font-size:var(--text-lg)}.toast-text.error.svelte-solcu7{color:var(--color-red-700)}.dark .toast-text.error.svelte-solcu7{color:var(--color-red-50)}.toast-text.warning.svelte-solcu7{color:var(--color-yellow-700)}.dark .toast-text.warning.svelte-solcu7{color:var(--color-yellow-50)}.toast-text.info.svelte-solcu7{color:var(--color-grey-700)}.dark .toast-text.info.svelte-solcu7{color:var(--color-grey-50)}.toast-details.svelte-solcu7{margin:var(--size-3) var(--size-3) var(--size-3) 0;width:100%}.toast-icon.svelte-solcu7{display:flex;position:absolute;position:relative;flex-shrink:0;justify-content:center;align-items:center;margin:var(--size-2);border-radius:var(--radius-full);padding:var(--size-1);padding-left:calc(var(--size-1) - 1px);width:35px;height:35px}.toast-icon.error.svelte-solcu7{color:var(--color-red-700)}.dark .toast-icon.error.svelte-solcu7{color:var(--color-red-500)}.toast-icon.warning.svelte-solcu7{color:var(--color-yellow-700)}.dark .toast-icon.warning.svelte-solcu7{color:var(--color-yellow-500)}.toast-icon.info.svelte-solcu7{color:var(--color-grey-700)}.dark .toast-icon.info.svelte-solcu7{color:var(--color-grey-500)}@keyframes svelte-solcu7-countdown{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.timer.svelte-solcu7{position:absolute;bottom:0;left:0;transform-origin:0 0;animation:svelte-solcu7-countdown 10s linear forwards;width:100%;height:var(--size-1)}.timer.error.svelte-solcu7{background:var(--color-red-700)}.dark .timer.error.svelte-solcu7{background:var(--color-red-500)}.timer.warning.svelte-solcu7{background:var(--color-yellow-700)}.dark .timer.warning.svelte-solcu7{background:var(--color-yellow-500)}.timer.info.svelte-solcu7{background:var(--color-grey-700)}.dark .timer.info.svelte-solcu7{background:var(--color-grey-500)}.toast-wrap.svelte-gatr8h{display:flex;position:fixed;top:var(--size-4);right:var(--size-4);flex-direction:column;align-items:end;gap:var(--size-2);z-index:var(--layer-top);width:calc(100% - var(--size-8))}@media (--screen-sm){.toast-wrap.svelte-gatr8h{width:calc(var(--size-96) + var(--size-10))}}button.svelte-2w9i1r{cursor:pointer;width:var(--size-full);height:var(--size-full)}.center.svelte-2w9i1r{display:flex;justify-content:center}.flex.svelte-2w9i1r{display:flex;justify-content:center;align-items:center}input.svelte-2w9i1r{display:none}div.svelte-1wj0ocy{display:flex;top:var(--size-2);right:var(--size-2);justify-content:flex-end;gap:var(--spacing-sm);z-index:var(--layer-1)}.not-absolute.svelte-1wj0ocy{margin:var(--size-1)}iframe.svelte-1orump4{display:flex;width:var(--size-full)}
|
src/backend/gradio_folium/templates/example/index.js
ADDED
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const {
|
2 |
+
SvelteComponent: f,
|
3 |
+
append: u,
|
4 |
+
attr: d,
|
5 |
+
detach: g,
|
6 |
+
element: o,
|
7 |
+
init: v,
|
8 |
+
insert: r,
|
9 |
+
noop: c,
|
10 |
+
safe_not_equal: y,
|
11 |
+
set_data: m,
|
12 |
+
text: b,
|
13 |
+
toggle_class: i
|
14 |
+
} = window.__gradio__svelte__internal;
|
15 |
+
function w(a) {
|
16 |
+
let e, n;
|
17 |
+
return {
|
18 |
+
c() {
|
19 |
+
e = o("div"), n = b(
|
20 |
+
/*value*/
|
21 |
+
a[0]
|
22 |
+
), d(e, "class", "svelte-1gecy8w"), i(
|
23 |
+
e,
|
24 |
+
"table",
|
25 |
+
/*type*/
|
26 |
+
a[1] === "table"
|
27 |
+
), i(
|
28 |
+
e,
|
29 |
+
"gallery",
|
30 |
+
/*type*/
|
31 |
+
a[1] === "gallery"
|
32 |
+
), i(
|
33 |
+
e,
|
34 |
+
"selected",
|
35 |
+
/*selected*/
|
36 |
+
a[2]
|
37 |
+
);
|
38 |
+
},
|
39 |
+
m(t, l) {
|
40 |
+
r(t, e, l), u(e, n);
|
41 |
+
},
|
42 |
+
p(t, [l]) {
|
43 |
+
l & /*value*/
|
44 |
+
1 && m(
|
45 |
+
n,
|
46 |
+
/*value*/
|
47 |
+
t[0]
|
48 |
+
), l & /*type*/
|
49 |
+
2 && i(
|
50 |
+
e,
|
51 |
+
"table",
|
52 |
+
/*type*/
|
53 |
+
t[1] === "table"
|
54 |
+
), l & /*type*/
|
55 |
+
2 && i(
|
56 |
+
e,
|
57 |
+
"gallery",
|
58 |
+
/*type*/
|
59 |
+
t[1] === "gallery"
|
60 |
+
), l & /*selected*/
|
61 |
+
4 && i(
|
62 |
+
e,
|
63 |
+
"selected",
|
64 |
+
/*selected*/
|
65 |
+
t[2]
|
66 |
+
);
|
67 |
+
},
|
68 |
+
i: c,
|
69 |
+
o: c,
|
70 |
+
d(t) {
|
71 |
+
t && g(e);
|
72 |
+
}
|
73 |
+
};
|
74 |
+
}
|
75 |
+
function h(a, e, n) {
|
76 |
+
let { value: t } = e, { type: l } = e, { selected: _ = !1 } = e;
|
77 |
+
return a.$$set = (s) => {
|
78 |
+
"value" in s && n(0, t = s.value), "type" in s && n(1, l = s.type), "selected" in s && n(2, _ = s.selected);
|
79 |
+
}, [t, l, _];
|
80 |
+
}
|
81 |
+
class E extends f {
|
82 |
+
constructor(e) {
|
83 |
+
super(), v(this, e, h, w, y, { value: 0, type: 1, selected: 2 });
|
84 |
+
}
|
85 |
+
}
|
86 |
+
export {
|
87 |
+
E as default
|
88 |
+
};
|
src/backend/gradio_folium/templates/example/style.css
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
.gallery.svelte-1gecy8w{padding:var(--size-1) var(--size-2)}
|
src/demo/__init__.py
ADDED
File without changes
|
src/demo/app.py
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
import gradio as gr
|
3 |
+
from gradio_folium import Folium
|
4 |
+
from folium import Map
|
5 |
+
import pandas as pd
|
6 |
+
import pathlib
|
7 |
+
|
8 |
+
df = pd.read_csv(pathlib.Path(__file__).parent / "cities.csv")
|
9 |
+
|
10 |
+
def select(df, data: gr.SelectData):
|
11 |
+
row = df.iloc[data.index[0], :]
|
12 |
+
return Map(location=[row['Latitude'], row['Longitude']])
|
13 |
+
|
14 |
+
with gr.Blocks() as demo:
|
15 |
+
gr.Markdown(("# 🗺️ Explore World Capitals with Gradio and Folium\n"
|
16 |
+
"Install this custom component with `pip install gradio_folium`"))
|
17 |
+
map = Folium(value=Map(location=[25.7617, -80.1918]), height=400)
|
18 |
+
data = gr.DataFrame(value=df, height=200)
|
19 |
+
data.select(select, data, map)
|
20 |
+
|
21 |
+
demo.launch()
|
src/demo/cities.csv
ADDED
@@ -0,0 +1,235 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Country,Capital City,Latitude,Longitude,Population,Capital Type
|
2 |
+
Afghanistan,Kabul,34.5289,69.1725,4011770,Capital
|
3 |
+
Albania,Tiranë (Tirana),41.3275,19.8189,475577,Capital
|
4 |
+
Algeria,El Djazaïr (Algiers),36.7525,3.0420,2693542,Capital
|
5 |
+
American Samoa,Pago Pago,-14.2781,-170.7025,48526,Capital
|
6 |
+
Andorra,Andorra la Vella,42.5078,1.5211,22614,Capital
|
7 |
+
Angola,Luanda,-8.8368,13.2343,7774200,Capital
|
8 |
+
Anguilla,The Valley,18.2170,-63.0578,1402,Capital
|
9 |
+
Antigua and Barbuda,St. John's,17.1172,-61.8457,20764,Capital
|
10 |
+
Argentina,Buenos Aires,-34.6051,-58.4004,14966530,Capital
|
11 |
+
Armenia,Yerevan,40.1820,44.5146,1080324,Capital
|
12 |
+
Aruba,Oranjestad,12.5240,-70.0270,29877,Capital
|
13 |
+
Australia,Canberra,-35.2835,149.1281,447692,Capital
|
14 |
+
Austria,Wien (Vienna),48.2064,16.3707,1900547,Capital
|
15 |
+
Azerbaijan,Baku,40.3777,49.8920,2285729,Capital
|
16 |
+
Bahamas,Nassau,25.0582,-77.3431,279668,Capital
|
17 |
+
Bahrain,Al-Manamah (Manama),26.2154,50.5832,564631,Capital
|
18 |
+
Bangladesh,Dhaka,23.7104,90.4074,19578421,Capital
|
19 |
+
Barbados,Bridgetown,13.1000,-59.6167,89201,Capital
|
20 |
+
Belarus,Minsk,53.9000,27.5667,2004672,Capital
|
21 |
+
Belgium,Bruxelles-Brussel,50.8467,4.3499,2049510,Capital
|
22 |
+
Belize,Belmopan,17.2500,-88.7667,22964,Capital
|
23 |
+
Benin,Cotonou,6.3654,2.4183,685458,Economic Capital
|
24 |
+
Bermuda,Hamilton,32.2915,-64.7780,10073,Capital
|
25 |
+
Bhutan,Thimphu,27.4661,89.6419,203297,Capital
|
26 |
+
Bolivia (Plurinational State of),La Paz,-16.5000,-68.1500,1814087,Seat of Government
|
27 |
+
Bosnia and Herzegovina,Sarajevo,43.8486,18.3564,342577,Capital
|
28 |
+
Botswana,Gaborone,-24.6545,25.9086,269338,Capital
|
29 |
+
Brazil,Brasília,-15.7797,-47.9297,4469585,Capital
|
30 |
+
British Virgin Islands,Road Town,18.4167,-64.6167,15137,Capital
|
31 |
+
Brunei Darussalam,Bandar Seri Begawan,4.9403,114.9481,40781,Capital
|
32 |
+
Bulgaria,Sofia,42.6975,23.3242,1272418,Capital
|
33 |
+
Burkina Faso,Ouagadougou,12.3642,-1.5383,2531381,Capital
|
34 |
+
Burundi,Bujumbura,-3.3822,29.3644,898968,Capital
|
35 |
+
Cabo Verde,Praia,14.9215,-23.5087,167504,Capital
|
36 |
+
Cambodia,Phnum Pénh (Phnom Penh),11.5625,104.9160,1952329,Capital
|
37 |
+
Cameroon,Yaoundé,3.8667,11.5167,3655656,Capital
|
38 |
+
Canada,Ottawa-Gatineau,45.4166,-75.6980,1363159,Capital
|
39 |
+
Caribbean Netherlands,Kralendijk,12.1500,-68.2667,11313,Capital
|
40 |
+
Cayman Islands,George Town,19.2866,-81.3744,34875,Capital
|
41 |
+
Central African Republic,Bangui,4.3612,18.5550,850946,Capital
|
42 |
+
Chad,N'Djaména,12.1067,15.0444,1322679,Capital
|
43 |
+
Channel Islands,St. Helier,49.1880,-2.1049,34386,Capital
|
44 |
+
Channel Islands,St. Peter Port,49.4598,-2.5353,16271,Capital
|
45 |
+
Chile,Santiago,-33.4569,-70.6483,6680371,Capital
|
46 |
+
China,Beijing,39.9075,116.3972,19617963,Capital
|
47 |
+
"China, Hong Kong SAR",Hong Kong,22.2796,114.1887,7428887,Capital
|
48 |
+
"China, Macao SAR",Macao,22.2006,113.5461,632418,Capital
|
49 |
+
"China, Taiwan Province of China",Taibei,25.0470,121.5457,2705791,Others
|
50 |
+
Colombia,Bogotá,4.6097,-74.0818,10574409,Capital
|
51 |
+
Comoros,Moroni,-11.7022,43.2551,62351,Capital
|
52 |
+
Congo,Brazzaville,-4.2658,15.2832,2229693,Capital
|
53 |
+
Cook Islands,Rarotonga,-21.2300,-159.7600,13067,Capital
|
54 |
+
Costa Rica,San José,9.9278,-84.0807,1357745,Capital
|
55 |
+
Côte d'Ivoire,Abidjan,5.3453,-4.0268,4920776,Administrative Capital
|
56 |
+
Croatia,Zagreb,45.8144,15.9780,685587,Capital
|
57 |
+
Cuba,La Habana (Havana),23.1195,-82.3785,2136468,Capital
|
58 |
+
Curaçao,Willemstad,12.1084,-68.9335,144037,Capital
|
59 |
+
Cyprus,Lefkosia (Nicosia),35.1595,33.3669,269469,Capital
|
60 |
+
Czechia,Praha (Prague),50.0880,14.4208,1291552,Capital
|
61 |
+
Dem. People's Republic of Korea,P'yongyang,39.0339,125.7543,3037862,Capital
|
62 |
+
Democratic Republic of the Congo,Kinshasa,-4.3276,15.3136,13171256,Capital
|
63 |
+
Denmark,København (Copenhagen),55.6759,12.5655,1320826,Capital
|
64 |
+
Djibouti,Djibouti,11.5877,43.1447,561564,Capital
|
65 |
+
Dominica,Roseau,15.3017,-61.3881,14942,Capital
|
66 |
+
Dominican Republic,Santo Domingo,18.4896,-69.9018,3172152,Capital
|
67 |
+
Ecuador,Quito,-0.2299,-78.5250,1822397,Capital
|
68 |
+
Egypt,Al-Qahirah (Cairo),30.0392,31.2394,20076002,Capital
|
69 |
+
El Salvador,San Salvador,13.6894,-89.1872,1106698,Capital
|
70 |
+
Equatorial Guinea,Malabo,3.7500,8.7833,296770,Capital
|
71 |
+
Eritrea,Asmara,15.3333,38.9333,895863,Capital
|
72 |
+
Estonia,Tallinn,59.4370,24.7535,437027,Capital
|
73 |
+
Ethiopia,Addis Ababa,9.0250,38.7469,4399674,Capital
|
74 |
+
Faeroe Islands,Tórshavn,62.0097,-6.7716,20817,Capital
|
75 |
+
Falkland Islands (Malvinas),Stanley,-51.7012,-57.8494,2269,Others
|
76 |
+
Fiji,Suva,-18.1416,178.4415,178339,Capital
|
77 |
+
Finland,Helsinki,60.1692,24.9402,1279096,Capital
|
78 |
+
France,Paris,48.8534,2.3488,10900952,Capital
|
79 |
+
French Guiana,Cayenne,4.9333,-52.3333,57506,Capital
|
80 |
+
French Polynesia,Papeete,-17.5333,-149.5667,136005,Capital
|
81 |
+
Gabon,Libreville,0.3925,9.4537,813489,Capital
|
82 |
+
Gambia,Banjul,13.4531,-16.6794,437161,Capital
|
83 |
+
Georgia,Tbilisi,41.6941,44.8337,1077333,Capital
|
84 |
+
Germany,Berlin,52.5244,13.4105,3552123,Capital
|
85 |
+
Ghana,Accra,5.5560,-0.1969,2439389,Capital
|
86 |
+
Gibraltar,Gibraltar,36.1447,-5.3526,34733,Capital
|
87 |
+
Greece,Athínai (Athens),37.9534,23.7490,3155600,Capital
|
88 |
+
Greenland,Nuuk (Godthåb),64.1835,-51.7216,18406,Capital
|
89 |
+
Grenada,St.George's,12.0564,-61.7485,39297,Capital
|
90 |
+
Guadeloupe,Basse-Terre,15.9985,-61.7255,58397,Capital
|
91 |
+
Guam,Hagåtña,13.4757,144.7489,146905,Capital
|
92 |
+
Guatemala,Ciudad de Guatemala (Guatemala City),14.6127,-90.5307,2851104,Capital
|
93 |
+
Guinea,Conakry,9.5716,-13.6476,1843121,Capital
|
94 |
+
Guinea-Bissau,Bissau,11.8636,-15.5977,558399,Capital
|
95 |
+
Guyana,Georgetown,6.8045,-58.1553,109934,Capital
|
96 |
+
Haiti,Port-au-Prince,18.5392,-72.3350,2636763,Capital
|
97 |
+
Holy See,Vatican City,41.9024,12.4533,801,Capital
|
98 |
+
Honduras,Tegucigalpa,14.0818,-87.2068,1363041,Capital
|
99 |
+
Hungary,Budapest,47.4980,19.0399,1759497,Capital
|
100 |
+
Iceland,Reykjavík,64.1355,-21.8954,216364,Capital
|
101 |
+
India,Delhi,28.6667,77.2167,28513682,Capital
|
102 |
+
Indonesia,Jakarta,-6.2118,106.8416,10516927,Capital
|
103 |
+
Iran (Islamic Republic of),Tehran,35.6944,51.4215,8895947,Capital
|
104 |
+
Iraq,Baghdad,33.3406,44.4009,6811955,Capital
|
105 |
+
Ireland,Dublin,53.3331,-6.2489,1201426,Capital
|
106 |
+
Isle of Man,Douglas,54.1500,-4.4833,27171,Capital
|
107 |
+
Israel,Jerusalem,31.7690,35.2163,907062,Capital
|
108 |
+
Italy,Roma (Rome),41.8947,12.4811,4209710,Capital
|
109 |
+
Jamaica,Kingston,17.9970,-76.7936,589083,Capital
|
110 |
+
Japan,Tokyo,35.6895,139.6917,37468302,Capital
|
111 |
+
Jordan,Amman,31.9552,35.9450,2064582,Capital
|
112 |
+
Kazakhstan,Astana,51.1801,71.4460,1068113,Capital
|
113 |
+
Kenya,Nairobi,-1.2833,36.8167,4385853,Capital
|
114 |
+
Kiribati,Tarawa,1.3272,172.9813,64011,Capital
|
115 |
+
Kuwait,Al Kuwayt (Kuwait City),29.3697,47.9783,2989270,Capital
|
116 |
+
Kyrgyzstan,Bishkek,42.8700,74.5900,996319,Capital
|
117 |
+
Lao People's Democratic Republic,Vientiane,17.9667,102.6000,664754,Capital
|
118 |
+
Latvia,Riga,56.9460,24.1059,637089,Capital
|
119 |
+
Lebanon,Bayrut (Beirut),33.9000,35.4833,2385271,Capital
|
120 |
+
Lesotho,Maseru,-29.3167,27.4833,201851,Capital
|
121 |
+
Liberia,Monrovia,6.3005,-10.7969,1418300,Capital
|
122 |
+
Libya,Tarabulus (Tripoli),32.8752,13.1875,1157746,Capital
|
123 |
+
Liechtenstein,Vaduz,47.1415,9.5215,5470,Capital
|
124 |
+
Lithuania,Vilnius,54.6892,25.2798,536055,Capital
|
125 |
+
Luxembourg,Luxembourg,49.6117,6.1300,119752,Capital
|
126 |
+
Madagascar,Antananarivo,-18.9137,47.5361,3058387,Capital
|
127 |
+
Malawi,Lilongwe,-13.9669,33.7873,1029639,Capital
|
128 |
+
Malaysia,Kuala Lumpur,3.1412,101.6865,7563912,Capital
|
129 |
+
Maldives,Male,4.1748,73.5089,176851,Capital
|
130 |
+
Mali,Bamako,12.6500,-8.0000,2446749,Capital
|
131 |
+
Malta,Valletta,35.8997,14.5147,212768,Capital
|
132 |
+
Marshall Islands,Majuro,7.0897,171.3803,30661,Capital
|
133 |
+
Martinique,Fort-de-France,14.6089,-61.0733,79361,Capital
|
134 |
+
Mauritania,Nouakchott,18.0858,-15.9785,1205414,Capital
|
135 |
+
Mauritius,Port Louis,-20.1619,57.4989,149365,Capital
|
136 |
+
Mayotte,Mamoudzou,-12.7794,45.2272,6180,Capital
|
137 |
+
Mexico,Ciudad de México (Mexico City),19.4273,-99.1419,21580827,Capital
|
138 |
+
Micronesia (Fed. States of),Palikir,6.9174,158.1588,6996,Capital
|
139 |
+
Monaco,Monaco,43.7333,7.4167,38897,Capital
|
140 |
+
Mongolia,Ulaanbaatar,47.9077,106.8832,1520381,Capital
|
141 |
+
Montenegro,Podgorica,42.4411,19.2636,177177,Capital
|
142 |
+
Montserrat,Brades Estate,16.7918,-62.2106,472,Capital
|
143 |
+
Morocco,Rabat,34.0133,-6.8326,1846661,Capital
|
144 |
+
Mozambique,Maputo,-25.9653,32.5892,1101771,Capital
|
145 |
+
Myanmar,Nay Pyi Taw,19.7450,96.1297,500218,Capital
|
146 |
+
Namibia,Windhoek,-22.5594,17.0832,404280,Capital
|
147 |
+
Nauru,Nauru,-0.5308,166.9112,11312,Capital
|
148 |
+
Nepal,Kathmandu,27.7017,85.3206,1329732,Capital
|
149 |
+
Netherlands,Amsterdam,52.3740,4.8897,1131690,Capital
|
150 |
+
New Caledonia,Nouméa,-22.2763,166.4572,197787,Capital
|
151 |
+
New Zealand,Wellington,-41.2866,174.7756,411346,Capital
|
152 |
+
Nicaragua,Managua,12.1328,-86.2504,1047923,Capital
|
153 |
+
Niger,Niamey,13.5137,2.1098,1213781,Capital
|
154 |
+
Nigeria,Abuja,9.0574,7.4898,2918518,Capital
|
155 |
+
Niue,Alofi,-19.0585,-169.9213,727,Capital
|
156 |
+
Northern Mariana Islands,Saipan,15.2123,145.7545,50568,Capital
|
157 |
+
Norway,Oslo,59.9127,10.7461,1012225,Capital
|
158 |
+
Oman,Masqat (Muscat),23.6139,58.5922,1446563,Capital
|
159 |
+
Pakistan,Islamabad,33.7035,73.0594,1061412,Capital
|
160 |
+
Palau,Koror,7.3426,134.4789,11410,Capital
|
161 |
+
Panama,Ciudad de Panamá (Panama City),8.9958,-79.5196,1783490,Capital
|
162 |
+
Papua New Guinea,Port Moresby,-9.4431,147.1797,366862,Capital
|
163 |
+
Paraguay,Asunción,-25.3007,-57.6359,3222199,Capital
|
164 |
+
Peru,Lima,-12.0432,-77.0282,10390607,Capital
|
165 |
+
Philippines,Manila,14.6042,120.9822,13482468,Capital
|
166 |
+
Poland,Warszawa (Warsaw),52.2298,21.0118,1767798,Capital
|
167 |
+
Portugal,Lisboa (Lisbon),38.7169,-9.1399,2927316,Capital
|
168 |
+
Puerto Rico,San Juan,18.4663,-66.1057,2454337,Capital
|
169 |
+
Qatar,Ad-Dawhah (Doha),25.2747,51.5245,633401,Capital
|
170 |
+
Republic of Korea,Seoul,37.5683,126.9778,9963497,Capital
|
171 |
+
Republic of Moldova,Chişinău,47.0056,28.8575,509707,Capital
|
172 |
+
Réunion,Saint-Denis,-20.8823,55.4504,147209,Capital
|
173 |
+
Romania,Bucuresti (Bucharest),44.4328,26.1043,1821380,Capital
|
174 |
+
Russian Federation,Moskva (Moscow),55.7550,37.6218,12409738,Capital
|
175 |
+
Rwanda,Kigali,-1.9474,30.0579,1057836,Capital
|
176 |
+
Saint Helena,Jamestown,-15.9387,-5.7168,603,Capital
|
177 |
+
Saint Kitts and Nevis,Basseterre,17.2948,-62.7261,14434,Capital
|
178 |
+
Saint Lucia,Castries,14.0060,-60.9910,22258,Capital
|
179 |
+
Saint Pierre and Miquelon,Saint-Pierre,46.7738,-56.1815,5723,Capital
|
180 |
+
Saint Vincent and the Grenadines,Kingstown,13.1587,-61.2248,26636,Capital
|
181 |
+
Samoa,Apia,-13.8333,-171.7667,36066,Capital
|
182 |
+
San Marino,San Marino,43.9333,12.4500,4465,Capital
|
183 |
+
Sao Tome and Principe,São Tomé,0.3365,6.7273,80099,Capital
|
184 |
+
Saudi Arabia,Ar-Riyadh (Riyadh),24.6905,46.7096,6906595,Capital
|
185 |
+
Senegal,Dakar,14.6937,-17.4441,2978419,Capital
|
186 |
+
Serbia,Beograd (Belgrade),44.8176,20.4633,1389351,Capital
|
187 |
+
Seychelles,Victoria,-4.6167,55.4500,28091,Capital
|
188 |
+
Sierra Leone,Freetown,8.4840,-13.2299,1135949,Capital
|
189 |
+
Singapore,Singapore,1.2897,103.8501,5791901,Capital
|
190 |
+
Sint Maarten (Dutch part),Philipsburg,18.0260,-63.0458,40552,Capital
|
191 |
+
Slovakia,Bratislava,48.1482,17.1067,429920,Capital
|
192 |
+
Slovenia,Ljubljana,46.0511,14.5051,286491,Capital
|
193 |
+
Solomon Islands,Honiara,-9.4333,159.9500,81801,Capital
|
194 |
+
Somalia,Muqdisho (Mogadishu),2.0416,45.3435,2081624,Capital
|
195 |
+
South Africa,Cape Town,-33.9258,18.4232,4430367,Legislative Capital
|
196 |
+
South Sudan,Juba,4.8517,31.5825,368914,Capital
|
197 |
+
Spain,Madrid,40.4165,-3.7026,6497124,Capital
|
198 |
+
Sri Lanka,Colombo,6.9319,79.8478,599821,Capital
|
199 |
+
State of Palestine,Al-Quds[East Jerusalem],31.7834,35.2339,275086,Capital
|
200 |
+
Sudan,Al-Khartum (Khartoum),15.5518,32.5324,5534079,Capital
|
201 |
+
Suriname,Paramaribo,5.8664,-55.1668,239457,Capital
|
202 |
+
Swaziland,Mbabane,-26.3167,31.1333,68010,Capital
|
203 |
+
Sweden,Stockholm,59.3326,18.0649,1582968,Capital
|
204 |
+
Switzerland,Bern,46.9481,7.4474,422153,Capital
|
205 |
+
Syrian Arab Republic,Dimashq (Damascus),33.5086,36.3084,2319545,Capital
|
206 |
+
Tajikistan,Dushanbe,38.5358,68.7791,872653,Capital
|
207 |
+
TFYR Macedonia,Skopje,42.0000,21.4333,584208,Capital
|
208 |
+
Thailand,Krung Thep (Bangkok),13.7220,100.5252,10156316,Capital
|
209 |
+
Timor-Leste,Dili,-8.5601,125.5668,281135,Capital
|
210 |
+
Togo,Lomé,6.1375,1.2123,1745744,Capital
|
211 |
+
Tokelau,Tokelau,-9.3800,-171.2500,0,Others
|
212 |
+
Tonga,Nuku'alofa,-21.1394,-175.2032,22904,Capital
|
213 |
+
Trinidad and Tobago,Port of Spain,10.6662,-61.5166,544417,Capital
|
214 |
+
Tunisia,Tunis,36.8190,10.1658,2290777,Capital
|
215 |
+
Turkey,Ankara,39.9199,32.8543,4919074,Capital
|
216 |
+
Turkmenistan,Ashgabat,37.9500,58.3833,810186,Capital
|
217 |
+
Turks and Caicos Islands,Cockburn Town,21.4612,-71.1419,5447,Capital
|
218 |
+
Tuvalu,Funafuti,-8.5189,179.1991,7042,Capital
|
219 |
+
Uganda,Kampala,0.3163,32.5822,2986352,Capital
|
220 |
+
Ukraine,Kyiv (Kiev),50.4454,30.5186,2956706,Capital
|
221 |
+
United Arab Emirates,Abu Zaby (Abu Dhabi),24.4648,54.3618,1419699,Capital
|
222 |
+
United Kingdom,London,51.5085,-0.1257,9046485,Capital
|
223 |
+
United Republic of Tanzania,Dodoma,-6.1722,35.7395,261645,Capital
|
224 |
+
United States of America,"Washington, D.C.",38.8951,-77.0364,5206593,Capital
|
225 |
+
United States Virgin Islands,Charlotte Amalie,18.3419,-64.9307,52322,Capital
|
226 |
+
Uruguay,Montevideo,-34.8335,-56.1674,1736989,Capital
|
227 |
+
Uzbekistan,Tashkent,41.2647,69.2163,2463969,Capital
|
228 |
+
Vanuatu,Port Vila,-17.7338,168.3219,52690,Capital
|
229 |
+
Venezuela (Bolivarian Republic of),Caracas,10.4880,-66.8792,2934560,Capital
|
230 |
+
Viet Nam,Hà Noi,21.0245,105.8412,4282738,Capital
|
231 |
+
Wallis and Futuna Islands,Matu-Utu,-13.2816,-176.1745,1025,Capital
|
232 |
+
Western Sahara,El Aaiún,27.1532,-13.2014,232388,Capital
|
233 |
+
Yemen,Sana'a',15.3531,44.2078,2779317,Capital
|
234 |
+
Zambia,Lusaka,-15.4134,28.2771,2523844,Capital
|
235 |
+
Zimbabwe,Harare,-17.8294,31.0539,1515016,Capital
|
src/frontend/Example.svelte
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<script lang="ts">
|
2 |
+
export let value: string;
|
3 |
+
export let type: "gallery" | "table";
|
4 |
+
export let selected = false;
|
5 |
+
</script>
|
6 |
+
|
7 |
+
<div
|
8 |
+
class:table={type === "table"}
|
9 |
+
class:gallery={type === "gallery"}
|
10 |
+
class:selected
|
11 |
+
>
|
12 |
+
{value}
|
13 |
+
</div>
|
14 |
+
|
15 |
+
<style>
|
16 |
+
.gallery {
|
17 |
+
padding: var(--size-1) var(--size-2);
|
18 |
+
}
|
19 |
+
</style>
|
src/frontend/Index.svelte
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<script lang="ts">
|
2 |
+
import type { Gradio } from "@gradio/utils";
|
3 |
+
import { Block, BlockLabel } from "@gradio/atoms";
|
4 |
+
import { StatusTracker } from "@gradio/statustracker";
|
5 |
+
import {normalise_file} from "@gradio/upload";
|
6 |
+
import type {FileData} from "@gradio/upload";
|
7 |
+
import type { LoadingStatus } from "@gradio/statustracker";
|
8 |
+
import { Empty } from "@gradio/atoms";
|
9 |
+
import { Plot as PlotIcon } from "@gradio/icons";
|
10 |
+
|
11 |
+
|
12 |
+
export let elem_id = "";
|
13 |
+
export let elem_classes: string[] = [];
|
14 |
+
export let visible = true;
|
15 |
+
export let value: FileData;
|
16 |
+
export let label: string;
|
17 |
+
export let container = true;
|
18 |
+
export let scale: number | null = null;
|
19 |
+
export let min_width: number | undefined = undefined;
|
20 |
+
export let loading_status: LoadingStatus;
|
21 |
+
export let root: string;
|
22 |
+
export let root_url: string;
|
23 |
+
export let height: number | null = null;
|
24 |
+
export let gradio: Gradio<{
|
25 |
+
change: never;
|
26 |
+
}>;
|
27 |
+
|
28 |
+
let new_value: FileData;
|
29 |
+
|
30 |
+
$: label = label ?? "Folium Map"
|
31 |
+
|
32 |
+
async function handle_change() {
|
33 |
+
gradio.dispatch("change");
|
34 |
+
}
|
35 |
+
|
36 |
+
$: height = height ?? 500;
|
37 |
+
$: new_value = {...normalise_file(value, root, root_url)};
|
38 |
+
$: new_value, handle_change()
|
39 |
+
|
40 |
+
</script>
|
41 |
+
|
42 |
+
<Block {visible} {elem_id} {elem_classes} {container} {scale} {min_width}>
|
43 |
+
{#if loading_status}
|
44 |
+
<StatusTracker
|
45 |
+
autoscroll={gradio.autoscroll}
|
46 |
+
i18n={gradio.i18n}
|
47 |
+
{...loading_status}
|
48 |
+
/>
|
49 |
+
{/if}
|
50 |
+
<BlockLabel show_label={true} Icon={PlotIcon} label={label || "Folium Map"} />
|
51 |
+
{#if value}
|
52 |
+
<iframe src={new_value.data} title={label} height="{height}px"></iframe>
|
53 |
+
{:else}
|
54 |
+
<Empty unpadded_box={true} size="large"><PlotIcon /></Empty>
|
55 |
+
{/if}
|
56 |
+
|
57 |
+
</Block>
|
58 |
+
|
59 |
+
<style>
|
60 |
+
|
61 |
+
iframe {
|
62 |
+
display: flex;
|
63 |
+
width: var(--size-full);
|
64 |
+
}
|
65 |
+
|
66 |
+
</style>
|
src/frontend/package-lock.json
ADDED
@@ -0,0 +1,1002 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "gradio_folium",
|
3 |
+
"version": "0.2.0-beta.6",
|
4 |
+
"lockfileVersion": 3,
|
5 |
+
"requires": true,
|
6 |
+
"packages": {
|
7 |
+
"": {
|
8 |
+
"name": "gradio_folium",
|
9 |
+
"version": "0.2.0-beta.6",
|
10 |
+
"license": "ISC",
|
11 |
+
"dependencies": {
|
12 |
+
"@gradio/atoms": "0.2.0-beta.4",
|
13 |
+
"@gradio/statustracker": "0.3.0-beta.6",
|
14 |
+
"@gradio/upload": "0.3.0-beta.4",
|
15 |
+
"@gradio/utils": "0.2.0-beta.4",
|
16 |
+
"@zerodevx/svelte-json-view": "^1.0.7"
|
17 |
+
}
|
18 |
+
},
|
19 |
+
"node_modules/@ampproject/remapping": {
|
20 |
+
"version": "2.2.1",
|
21 |
+
"resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz",
|
22 |
+
"integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==",
|
23 |
+
"peer": true,
|
24 |
+
"dependencies": {
|
25 |
+
"@jridgewell/gen-mapping": "^0.3.0",
|
26 |
+
"@jridgewell/trace-mapping": "^0.3.9"
|
27 |
+
},
|
28 |
+
"engines": {
|
29 |
+
"node": ">=6.0.0"
|
30 |
+
}
|
31 |
+
},
|
32 |
+
"node_modules/@esbuild/android-arm": {
|
33 |
+
"version": "0.19.5",
|
34 |
+
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.5.tgz",
|
35 |
+
"integrity": "sha512-bhvbzWFF3CwMs5tbjf3ObfGqbl/17ict2/uwOSfr3wmxDE6VdS2GqY/FuzIPe0q0bdhj65zQsvqfArI9MY6+AA==",
|
36 |
+
"cpu": [
|
37 |
+
"arm"
|
38 |
+
],
|
39 |
+
"optional": true,
|
40 |
+
"os": [
|
41 |
+
"android"
|
42 |
+
],
|
43 |
+
"engines": {
|
44 |
+
"node": ">=12"
|
45 |
+
}
|
46 |
+
},
|
47 |
+
"node_modules/@esbuild/android-arm64": {
|
48 |
+
"version": "0.19.5",
|
49 |
+
"resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.5.tgz",
|
50 |
+
"integrity": "sha512-5d1OkoJxnYQfmC+Zd8NBFjkhyCNYwM4n9ODrycTFY6Jk1IGiZ+tjVJDDSwDt77nK+tfpGP4T50iMtVi4dEGzhQ==",
|
51 |
+
"cpu": [
|
52 |
+
"arm64"
|
53 |
+
],
|
54 |
+
"optional": true,
|
55 |
+
"os": [
|
56 |
+
"android"
|
57 |
+
],
|
58 |
+
"engines": {
|
59 |
+
"node": ">=12"
|
60 |
+
}
|
61 |
+
},
|
62 |
+
"node_modules/@esbuild/android-x64": {
|
63 |
+
"version": "0.19.5",
|
64 |
+
"resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.5.tgz",
|
65 |
+
"integrity": "sha512-9t+28jHGL7uBdkBjL90QFxe7DVA+KGqWlHCF8ChTKyaKO//VLuoBricQCgwhOjA1/qOczsw843Fy4cbs4H3DVA==",
|
66 |
+
"cpu": [
|
67 |
+
"x64"
|
68 |
+
],
|
69 |
+
"optional": true,
|
70 |
+
"os": [
|
71 |
+
"android"
|
72 |
+
],
|
73 |
+
"engines": {
|
74 |
+
"node": ">=12"
|
75 |
+
}
|
76 |
+
},
|
77 |
+
"node_modules/@esbuild/darwin-arm64": {
|
78 |
+
"version": "0.19.5",
|
79 |
+
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.5.tgz",
|
80 |
+
"integrity": "sha512-mvXGcKqqIqyKoxq26qEDPHJuBYUA5KizJncKOAf9eJQez+L9O+KfvNFu6nl7SCZ/gFb2QPaRqqmG0doSWlgkqw==",
|
81 |
+
"cpu": [
|
82 |
+
"arm64"
|
83 |
+
],
|
84 |
+
"optional": true,
|
85 |
+
"os": [
|
86 |
+
"darwin"
|
87 |
+
],
|
88 |
+
"engines": {
|
89 |
+
"node": ">=12"
|
90 |
+
}
|
91 |
+
},
|
92 |
+
"node_modules/@esbuild/darwin-x64": {
|
93 |
+
"version": "0.19.5",
|
94 |
+
"resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.5.tgz",
|
95 |
+
"integrity": "sha512-Ly8cn6fGLNet19s0X4unjcniX24I0RqjPv+kurpXabZYSXGM4Pwpmf85WHJN3lAgB8GSth7s5A0r856S+4DyiA==",
|
96 |
+
"cpu": [
|
97 |
+
"x64"
|
98 |
+
],
|
99 |
+
"optional": true,
|
100 |
+
"os": [
|
101 |
+
"darwin"
|
102 |
+
],
|
103 |
+
"engines": {
|
104 |
+
"node": ">=12"
|
105 |
+
}
|
106 |
+
},
|
107 |
+
"node_modules/@esbuild/freebsd-arm64": {
|
108 |
+
"version": "0.19.5",
|
109 |
+
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.5.tgz",
|
110 |
+
"integrity": "sha512-GGDNnPWTmWE+DMchq1W8Sd0mUkL+APvJg3b11klSGUDvRXh70JqLAO56tubmq1s2cgpVCSKYywEiKBfju8JztQ==",
|
111 |
+
"cpu": [
|
112 |
+
"arm64"
|
113 |
+
],
|
114 |
+
"optional": true,
|
115 |
+
"os": [
|
116 |
+
"freebsd"
|
117 |
+
],
|
118 |
+
"engines": {
|
119 |
+
"node": ">=12"
|
120 |
+
}
|
121 |
+
},
|
122 |
+
"node_modules/@esbuild/freebsd-x64": {
|
123 |
+
"version": "0.19.5",
|
124 |
+
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.5.tgz",
|
125 |
+
"integrity": "sha512-1CCwDHnSSoA0HNwdfoNY0jLfJpd7ygaLAp5EHFos3VWJCRX9DMwWODf96s9TSse39Br7oOTLryRVmBoFwXbuuQ==",
|
126 |
+
"cpu": [
|
127 |
+
"x64"
|
128 |
+
],
|
129 |
+
"optional": true,
|
130 |
+
"os": [
|
131 |
+
"freebsd"
|
132 |
+
],
|
133 |
+
"engines": {
|
134 |
+
"node": ">=12"
|
135 |
+
}
|
136 |
+
},
|
137 |
+
"node_modules/@esbuild/linux-arm": {
|
138 |
+
"version": "0.19.5",
|
139 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.5.tgz",
|
140 |
+
"integrity": "sha512-lrWXLY/vJBzCPC51QN0HM71uWgIEpGSjSZZADQhq7DKhPcI6NH1IdzjfHkDQws2oNpJKpR13kv7/pFHBbDQDwQ==",
|
141 |
+
"cpu": [
|
142 |
+
"arm"
|
143 |
+
],
|
144 |
+
"optional": true,
|
145 |
+
"os": [
|
146 |
+
"linux"
|
147 |
+
],
|
148 |
+
"engines": {
|
149 |
+
"node": ">=12"
|
150 |
+
}
|
151 |
+
},
|
152 |
+
"node_modules/@esbuild/linux-arm64": {
|
153 |
+
"version": "0.19.5",
|
154 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.5.tgz",
|
155 |
+
"integrity": "sha512-o3vYippBmSrjjQUCEEiTZ2l+4yC0pVJD/Dl57WfPwwlvFkrxoSO7rmBZFii6kQB3Wrn/6GwJUPLU5t52eq2meA==",
|
156 |
+
"cpu": [
|
157 |
+
"arm64"
|
158 |
+
],
|
159 |
+
"optional": true,
|
160 |
+
"os": [
|
161 |
+
"linux"
|
162 |
+
],
|
163 |
+
"engines": {
|
164 |
+
"node": ">=12"
|
165 |
+
}
|
166 |
+
},
|
167 |
+
"node_modules/@esbuild/linux-ia32": {
|
168 |
+
"version": "0.19.5",
|
169 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.5.tgz",
|
170 |
+
"integrity": "sha512-MkjHXS03AXAkNp1KKkhSKPOCYztRtK+KXDNkBa6P78F8Bw0ynknCSClO/ztGszILZtyO/lVKpa7MolbBZ6oJtQ==",
|
171 |
+
"cpu": [
|
172 |
+
"ia32"
|
173 |
+
],
|
174 |
+
"optional": true,
|
175 |
+
"os": [
|
176 |
+
"linux"
|
177 |
+
],
|
178 |
+
"engines": {
|
179 |
+
"node": ">=12"
|
180 |
+
}
|
181 |
+
},
|
182 |
+
"node_modules/@esbuild/linux-loong64": {
|
183 |
+
"version": "0.19.5",
|
184 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.5.tgz",
|
185 |
+
"integrity": "sha512-42GwZMm5oYOD/JHqHska3Jg0r+XFb/fdZRX+WjADm3nLWLcIsN27YKtqxzQmGNJgu0AyXg4HtcSK9HuOk3v1Dw==",
|
186 |
+
"cpu": [
|
187 |
+
"loong64"
|
188 |
+
],
|
189 |
+
"optional": true,
|
190 |
+
"os": [
|
191 |
+
"linux"
|
192 |
+
],
|
193 |
+
"engines": {
|
194 |
+
"node": ">=12"
|
195 |
+
}
|
196 |
+
},
|
197 |
+
"node_modules/@esbuild/linux-mips64el": {
|
198 |
+
"version": "0.19.5",
|
199 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.5.tgz",
|
200 |
+
"integrity": "sha512-kcjndCSMitUuPJobWCnwQ9lLjiLZUR3QLQmlgaBfMX23UEa7ZOrtufnRds+6WZtIS9HdTXqND4yH8NLoVVIkcg==",
|
201 |
+
"cpu": [
|
202 |
+
"mips64el"
|
203 |
+
],
|
204 |
+
"optional": true,
|
205 |
+
"os": [
|
206 |
+
"linux"
|
207 |
+
],
|
208 |
+
"engines": {
|
209 |
+
"node": ">=12"
|
210 |
+
}
|
211 |
+
},
|
212 |
+
"node_modules/@esbuild/linux-ppc64": {
|
213 |
+
"version": "0.19.5",
|
214 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.5.tgz",
|
215 |
+
"integrity": "sha512-yJAxJfHVm0ZbsiljbtFFP1BQKLc8kUF6+17tjQ78QjqjAQDnhULWiTA6u0FCDmYT1oOKS9PzZ2z0aBI+Mcyj7Q==",
|
216 |
+
"cpu": [
|
217 |
+
"ppc64"
|
218 |
+
],
|
219 |
+
"optional": true,
|
220 |
+
"os": [
|
221 |
+
"linux"
|
222 |
+
],
|
223 |
+
"engines": {
|
224 |
+
"node": ">=12"
|
225 |
+
}
|
226 |
+
},
|
227 |
+
"node_modules/@esbuild/linux-riscv64": {
|
228 |
+
"version": "0.19.5",
|
229 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.5.tgz",
|
230 |
+
"integrity": "sha512-5u8cIR/t3gaD6ad3wNt1MNRstAZO+aNyBxu2We8X31bA8XUNyamTVQwLDA1SLoPCUehNCymhBhK3Qim1433Zag==",
|
231 |
+
"cpu": [
|
232 |
+
"riscv64"
|
233 |
+
],
|
234 |
+
"optional": true,
|
235 |
+
"os": [
|
236 |
+
"linux"
|
237 |
+
],
|
238 |
+
"engines": {
|
239 |
+
"node": ">=12"
|
240 |
+
}
|
241 |
+
},
|
242 |
+
"node_modules/@esbuild/linux-s390x": {
|
243 |
+
"version": "0.19.5",
|
244 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.5.tgz",
|
245 |
+
"integrity": "sha512-Z6JrMyEw/EmZBD/OFEFpb+gao9xJ59ATsoTNlj39jVBbXqoZm4Xntu6wVmGPB/OATi1uk/DB+yeDPv2E8PqZGw==",
|
246 |
+
"cpu": [
|
247 |
+
"s390x"
|
248 |
+
],
|
249 |
+
"optional": true,
|
250 |
+
"os": [
|
251 |
+
"linux"
|
252 |
+
],
|
253 |
+
"engines": {
|
254 |
+
"node": ">=12"
|
255 |
+
}
|
256 |
+
},
|
257 |
+
"node_modules/@esbuild/linux-x64": {
|
258 |
+
"version": "0.19.5",
|
259 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.5.tgz",
|
260 |
+
"integrity": "sha512-psagl+2RlK1z8zWZOmVdImisMtrUxvwereIdyJTmtmHahJTKb64pAcqoPlx6CewPdvGvUKe2Jw+0Z/0qhSbG1A==",
|
261 |
+
"cpu": [
|
262 |
+
"x64"
|
263 |
+
],
|
264 |
+
"optional": true,
|
265 |
+
"os": [
|
266 |
+
"linux"
|
267 |
+
],
|
268 |
+
"engines": {
|
269 |
+
"node": ">=12"
|
270 |
+
}
|
271 |
+
},
|
272 |
+
"node_modules/@esbuild/netbsd-x64": {
|
273 |
+
"version": "0.19.5",
|
274 |
+
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.5.tgz",
|
275 |
+
"integrity": "sha512-kL2l+xScnAy/E/3119OggX8SrWyBEcqAh8aOY1gr4gPvw76la2GlD4Ymf832UCVbmuWeTf2adkZDK+h0Z/fB4g==",
|
276 |
+
"cpu": [
|
277 |
+
"x64"
|
278 |
+
],
|
279 |
+
"optional": true,
|
280 |
+
"os": [
|
281 |
+
"netbsd"
|
282 |
+
],
|
283 |
+
"engines": {
|
284 |
+
"node": ">=12"
|
285 |
+
}
|
286 |
+
},
|
287 |
+
"node_modules/@esbuild/openbsd-x64": {
|
288 |
+
"version": "0.19.5",
|
289 |
+
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.5.tgz",
|
290 |
+
"integrity": "sha512-sPOfhtzFufQfTBgRnE1DIJjzsXukKSvZxloZbkJDG383q0awVAq600pc1nfqBcl0ice/WN9p4qLc39WhBShRTA==",
|
291 |
+
"cpu": [
|
292 |
+
"x64"
|
293 |
+
],
|
294 |
+
"optional": true,
|
295 |
+
"os": [
|
296 |
+
"openbsd"
|
297 |
+
],
|
298 |
+
"engines": {
|
299 |
+
"node": ">=12"
|
300 |
+
}
|
301 |
+
},
|
302 |
+
"node_modules/@esbuild/sunos-x64": {
|
303 |
+
"version": "0.19.5",
|
304 |
+
"resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.5.tgz",
|
305 |
+
"integrity": "sha512-dGZkBXaafuKLpDSjKcB0ax0FL36YXCvJNnztjKV+6CO82tTYVDSH2lifitJ29jxRMoUhgkg9a+VA/B03WK5lcg==",
|
306 |
+
"cpu": [
|
307 |
+
"x64"
|
308 |
+
],
|
309 |
+
"optional": true,
|
310 |
+
"os": [
|
311 |
+
"sunos"
|
312 |
+
],
|
313 |
+
"engines": {
|
314 |
+
"node": ">=12"
|
315 |
+
}
|
316 |
+
},
|
317 |
+
"node_modules/@esbuild/win32-arm64": {
|
318 |
+
"version": "0.19.5",
|
319 |
+
"resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.5.tgz",
|
320 |
+
"integrity": "sha512-dWVjD9y03ilhdRQ6Xig1NWNgfLtf2o/STKTS+eZuF90fI2BhbwD6WlaiCGKptlqXlURVB5AUOxUj09LuwKGDTg==",
|
321 |
+
"cpu": [
|
322 |
+
"arm64"
|
323 |
+
],
|
324 |
+
"optional": true,
|
325 |
+
"os": [
|
326 |
+
"win32"
|
327 |
+
],
|
328 |
+
"engines": {
|
329 |
+
"node": ">=12"
|
330 |
+
}
|
331 |
+
},
|
332 |
+
"node_modules/@esbuild/win32-ia32": {
|
333 |
+
"version": "0.19.5",
|
334 |
+
"resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.5.tgz",
|
335 |
+
"integrity": "sha512-4liggWIA4oDgUxqpZwrDhmEfAH4d0iljanDOK7AnVU89T6CzHon/ony8C5LeOdfgx60x5cnQJFZwEydVlYx4iw==",
|
336 |
+
"cpu": [
|
337 |
+
"ia32"
|
338 |
+
],
|
339 |
+
"optional": true,
|
340 |
+
"os": [
|
341 |
+
"win32"
|
342 |
+
],
|
343 |
+
"engines": {
|
344 |
+
"node": ">=12"
|
345 |
+
}
|
346 |
+
},
|
347 |
+
"node_modules/@esbuild/win32-x64": {
|
348 |
+
"version": "0.19.5",
|
349 |
+
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.5.tgz",
|
350 |
+
"integrity": "sha512-czTrygUsB/jlM8qEW5MD8bgYU2Xg14lo6kBDXW6HdxKjh8M5PzETGiSHaz9MtbXBYDloHNUAUW2tMiKW4KM9Mw==",
|
351 |
+
"cpu": [
|
352 |
+
"x64"
|
353 |
+
],
|
354 |
+
"optional": true,
|
355 |
+
"os": [
|
356 |
+
"win32"
|
357 |
+
],
|
358 |
+
"engines": {
|
359 |
+
"node": ">=12"
|
360 |
+
}
|
361 |
+
},
|
362 |
+
"node_modules/@formatjs/ecma402-abstract": {
|
363 |
+
"version": "1.11.4",
|
364 |
+
"resolved": "https://registry.npmjs.org/@formatjs/ecma402-abstract/-/ecma402-abstract-1.11.4.tgz",
|
365 |
+
"integrity": "sha512-EBikYFp2JCdIfGEb5G9dyCkTGDmC57KSHhRQOC3aYxoPWVZvfWCDjZwkGYHN7Lis/fmuWl906bnNTJifDQ3sXw==",
|
366 |
+
"dependencies": {
|
367 |
+
"@formatjs/intl-localematcher": "0.2.25",
|
368 |
+
"tslib": "^2.1.0"
|
369 |
+
}
|
370 |
+
},
|
371 |
+
"node_modules/@formatjs/fast-memoize": {
|
372 |
+
"version": "1.2.1",
|
373 |
+
"resolved": "https://registry.npmjs.org/@formatjs/fast-memoize/-/fast-memoize-1.2.1.tgz",
|
374 |
+
"integrity": "sha512-Rg0e76nomkz3vF9IPlKeV+Qynok0r7YZjL6syLz4/urSg0IbjPZCB/iYUMNsYA643gh4mgrX3T7KEIFIxJBQeg==",
|
375 |
+
"dependencies": {
|
376 |
+
"tslib": "^2.1.0"
|
377 |
+
}
|
378 |
+
},
|
379 |
+
"node_modules/@formatjs/icu-messageformat-parser": {
|
380 |
+
"version": "2.1.0",
|
381 |
+
"resolved": "https://registry.npmjs.org/@formatjs/icu-messageformat-parser/-/icu-messageformat-parser-2.1.0.tgz",
|
382 |
+
"integrity": "sha512-Qxv/lmCN6hKpBSss2uQ8IROVnta2r9jd3ymUEIjm2UyIkUCHVcbUVRGL/KS/wv7876edvsPe+hjHVJ4z8YuVaw==",
|
383 |
+
"dependencies": {
|
384 |
+
"@formatjs/ecma402-abstract": "1.11.4",
|
385 |
+
"@formatjs/icu-skeleton-parser": "1.3.6",
|
386 |
+
"tslib": "^2.1.0"
|
387 |
+
}
|
388 |
+
},
|
389 |
+
"node_modules/@formatjs/icu-skeleton-parser": {
|
390 |
+
"version": "1.3.6",
|
391 |
+
"resolved": "https://registry.npmjs.org/@formatjs/icu-skeleton-parser/-/icu-skeleton-parser-1.3.6.tgz",
|
392 |
+
"integrity": "sha512-I96mOxvml/YLrwU2Txnd4klA7V8fRhb6JG/4hm3VMNmeJo1F03IpV2L3wWt7EweqNLES59SZ4d6hVOPCSf80Bg==",
|
393 |
+
"dependencies": {
|
394 |
+
"@formatjs/ecma402-abstract": "1.11.4",
|
395 |
+
"tslib": "^2.1.0"
|
396 |
+
}
|
397 |
+
},
|
398 |
+
"node_modules/@formatjs/intl-localematcher": {
|
399 |
+
"version": "0.2.25",
|
400 |
+
"resolved": "https://registry.npmjs.org/@formatjs/intl-localematcher/-/intl-localematcher-0.2.25.tgz",
|
401 |
+
"integrity": "sha512-YmLcX70BxoSopLFdLr1Ds99NdlTI2oWoLbaUW2M406lxOIPzE1KQhRz2fPUkq34xVZQaihCoU29h0KK7An3bhA==",
|
402 |
+
"dependencies": {
|
403 |
+
"tslib": "^2.1.0"
|
404 |
+
}
|
405 |
+
},
|
406 |
+
"node_modules/@gradio/atoms": {
|
407 |
+
"version": "0.2.0-beta.4",
|
408 |
+
"resolved": "https://registry.npmjs.org/@gradio/atoms/-/atoms-0.2.0-beta.4.tgz",
|
409 |
+
"integrity": "sha512-xZfP9oPmb7iiuGl7KB4vVELSVk9f3w5Y9KRIxkAaMb+oeRpmb5uDtKQPAxntpm0W9rKAZmYG+DIWhInlu1eeKA==",
|
410 |
+
"dependencies": {
|
411 |
+
"@gradio/icons": "^0.2.0-beta.1",
|
412 |
+
"@gradio/utils": "^0.2.0-beta.4"
|
413 |
+
}
|
414 |
+
},
|
415 |
+
"node_modules/@gradio/client": {
|
416 |
+
"version": "0.5.2",
|
417 |
+
"resolved": "https://registry.npmjs.org/@gradio/client/-/client-0.5.2.tgz",
|
418 |
+
"integrity": "sha512-aQk3FEJt3R/7d7Xul0KqSUDqh0rwgQQwTXBuLS5qHuf861ym7bJcm/kDqqBgyu3/9pxAsybSdgA/G0QyZSBKgA==",
|
419 |
+
"dependencies": {
|
420 |
+
"bufferutil": "^4.0.7",
|
421 |
+
"semiver": "^1.1.0",
|
422 |
+
"ws": "^8.13.0"
|
423 |
+
},
|
424 |
+
"engines": {
|
425 |
+
"node": ">=18.0.0"
|
426 |
+
}
|
427 |
+
},
|
428 |
+
"node_modules/@gradio/column": {
|
429 |
+
"version": "0.1.0-beta.2",
|
430 |
+
"resolved": "https://registry.npmjs.org/@gradio/column/-/column-0.1.0-beta.2.tgz",
|
431 |
+
"integrity": "sha512-vL0GECdNL4wAaO/o0JcF3fm2xyMrx5DJWXUiPq/sUwqZwwB95srPGKBVTmVja3HproVXCBEnTzPQmRlrwWK67w=="
|
432 |
+
},
|
433 |
+
"node_modules/@gradio/icons": {
|
434 |
+
"version": "0.2.0-beta.1",
|
435 |
+
"resolved": "https://registry.npmjs.org/@gradio/icons/-/icons-0.2.0-beta.1.tgz",
|
436 |
+
"integrity": "sha512-6nwP1NIi0u4YQoSoaqC/rY0wuCvJHsnK+8aHDOE37070JpzBGuxB/VUlEgO7trNz5zI/EJy2htIRYsqz1vKmXA=="
|
437 |
+
},
|
438 |
+
"node_modules/@gradio/statustracker": {
|
439 |
+
"version": "0.3.0-beta.6",
|
440 |
+
"resolved": "https://registry.npmjs.org/@gradio/statustracker/-/statustracker-0.3.0-beta.6.tgz",
|
441 |
+
"integrity": "sha512-AIhaMCnr2uibHdqRrs4K8ZUvZK0q5e430TcvoduLOkaoOrkfnqetrHaHdOLNBz+H4kJlXJRsmt7ZZYV4wwMXRQ==",
|
442 |
+
"dependencies": {
|
443 |
+
"@gradio/atoms": "^0.2.0-beta.4",
|
444 |
+
"@gradio/column": "^0.1.0-beta.2",
|
445 |
+
"@gradio/icons": "^0.2.0-beta.1",
|
446 |
+
"@gradio/utils": "^0.2.0-beta.4"
|
447 |
+
}
|
448 |
+
},
|
449 |
+
"node_modules/@gradio/theme": {
|
450 |
+
"version": "0.2.0-beta.2",
|
451 |
+
"resolved": "https://registry.npmjs.org/@gradio/theme/-/theme-0.2.0-beta.2.tgz",
|
452 |
+
"integrity": "sha512-yKrA8eE02URtXUC9w98lBW8tqZk5oGumbBH7bFKOAhsrv1sbVZKir18P4a2/EL4XJ6Um36MwhPB3D5ipMniV5g=="
|
453 |
+
},
|
454 |
+
"node_modules/@gradio/upload": {
|
455 |
+
"version": "0.3.0-beta.4",
|
456 |
+
"resolved": "https://registry.npmjs.org/@gradio/upload/-/upload-0.3.0-beta.4.tgz",
|
457 |
+
"integrity": "sha512-JFajJHKJCAjZjtXDRZvLifGOs/b38fAuzAMshkDUQaJloRYk4KKpjnyj8d68wkQFzq3SK8ChKwfYoeMX8zp3yA==",
|
458 |
+
"dependencies": {
|
459 |
+
"@gradio/atoms": "^0.2.0-beta.4",
|
460 |
+
"@gradio/client": "^0.5.2",
|
461 |
+
"@gradio/icons": "^0.2.0-beta.1",
|
462 |
+
"@gradio/upload": "^0.3.0-beta.4",
|
463 |
+
"@gradio/utils": "^0.2.0-beta.4"
|
464 |
+
}
|
465 |
+
},
|
466 |
+
"node_modules/@gradio/utils": {
|
467 |
+
"version": "0.2.0-beta.4",
|
468 |
+
"resolved": "https://registry.npmjs.org/@gradio/utils/-/utils-0.2.0-beta.4.tgz",
|
469 |
+
"integrity": "sha512-jaOY3IQs1MnWRagXBICHXl5ZDKFqgF4XMfgsZNjTQxTG6THFOCsrUc14X1BNmXWkh9zVXJJTZcXifekj8O6LZQ==",
|
470 |
+
"dependencies": {
|
471 |
+
"@gradio/theme": "^0.2.0-beta.2",
|
472 |
+
"svelte-i18n": "^3.6.0"
|
473 |
+
}
|
474 |
+
},
|
475 |
+
"node_modules/@jridgewell/gen-mapping": {
|
476 |
+
"version": "0.3.3",
|
477 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz",
|
478 |
+
"integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==",
|
479 |
+
"peer": true,
|
480 |
+
"dependencies": {
|
481 |
+
"@jridgewell/set-array": "^1.0.1",
|
482 |
+
"@jridgewell/sourcemap-codec": "^1.4.10",
|
483 |
+
"@jridgewell/trace-mapping": "^0.3.9"
|
484 |
+
},
|
485 |
+
"engines": {
|
486 |
+
"node": ">=6.0.0"
|
487 |
+
}
|
488 |
+
},
|
489 |
+
"node_modules/@jridgewell/resolve-uri": {
|
490 |
+
"version": "3.1.1",
|
491 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz",
|
492 |
+
"integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==",
|
493 |
+
"peer": true,
|
494 |
+
"engines": {
|
495 |
+
"node": ">=6.0.0"
|
496 |
+
}
|
497 |
+
},
|
498 |
+
"node_modules/@jridgewell/set-array": {
|
499 |
+
"version": "1.1.2",
|
500 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz",
|
501 |
+
"integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==",
|
502 |
+
"peer": true,
|
503 |
+
"engines": {
|
504 |
+
"node": ">=6.0.0"
|
505 |
+
}
|
506 |
+
},
|
507 |
+
"node_modules/@jridgewell/sourcemap-codec": {
|
508 |
+
"version": "1.4.15",
|
509 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
|
510 |
+
"integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==",
|
511 |
+
"peer": true
|
512 |
+
},
|
513 |
+
"node_modules/@jridgewell/trace-mapping": {
|
514 |
+
"version": "0.3.20",
|
515 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz",
|
516 |
+
"integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==",
|
517 |
+
"peer": true,
|
518 |
+
"dependencies": {
|
519 |
+
"@jridgewell/resolve-uri": "^3.1.0",
|
520 |
+
"@jridgewell/sourcemap-codec": "^1.4.14"
|
521 |
+
}
|
522 |
+
},
|
523 |
+
"node_modules/@types/estree": {
|
524 |
+
"version": "1.0.3",
|
525 |
+
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.3.tgz",
|
526 |
+
"integrity": "sha512-CS2rOaoQ/eAgAfcTfq6amKG7bsN+EMcgGY4FAFQdvSj2y1ixvOZTUA9mOtCai7E1SYu283XNw7urKK30nP3wkQ==",
|
527 |
+
"peer": true
|
528 |
+
},
|
529 |
+
"node_modules/@zerodevx/svelte-json-view": {
|
530 |
+
"version": "1.0.7",
|
531 |
+
"resolved": "https://registry.npmjs.org/@zerodevx/svelte-json-view/-/svelte-json-view-1.0.7.tgz",
|
532 |
+
"integrity": "sha512-yW0MV+9BCKOwzt3h86y3xDqYdI5st+Rxk+L5pa0Utq7nlPD+VvxyhL7R1gJoLxQvWwjyAvY/fyUCFTdwDyI14w==",
|
533 |
+
"peerDependencies": {
|
534 |
+
"svelte": "^3.57.0 || ^4.0.0"
|
535 |
+
}
|
536 |
+
},
|
537 |
+
"node_modules/acorn": {
|
538 |
+
"version": "8.10.0",
|
539 |
+
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz",
|
540 |
+
"integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==",
|
541 |
+
"peer": true,
|
542 |
+
"bin": {
|
543 |
+
"acorn": "bin/acorn"
|
544 |
+
},
|
545 |
+
"engines": {
|
546 |
+
"node": ">=0.4.0"
|
547 |
+
}
|
548 |
+
},
|
549 |
+
"node_modules/aria-query": {
|
550 |
+
"version": "5.3.0",
|
551 |
+
"resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz",
|
552 |
+
"integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==",
|
553 |
+
"peer": true,
|
554 |
+
"dependencies": {
|
555 |
+
"dequal": "^2.0.3"
|
556 |
+
}
|
557 |
+
},
|
558 |
+
"node_modules/axobject-query": {
|
559 |
+
"version": "3.2.1",
|
560 |
+
"resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.2.1.tgz",
|
561 |
+
"integrity": "sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==",
|
562 |
+
"peer": true,
|
563 |
+
"dependencies": {
|
564 |
+
"dequal": "^2.0.3"
|
565 |
+
}
|
566 |
+
},
|
567 |
+
"node_modules/bufferutil": {
|
568 |
+
"version": "4.0.8",
|
569 |
+
"resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.8.tgz",
|
570 |
+
"integrity": "sha512-4T53u4PdgsXqKaIctwF8ifXlRTTmEPJ8iEPWFdGZvcf7sbwYo6FKFEX9eNNAnzFZ7EzJAQ3CJeOtCRA4rDp7Pw==",
|
571 |
+
"hasInstallScript": true,
|
572 |
+
"dependencies": {
|
573 |
+
"node-gyp-build": "^4.3.0"
|
574 |
+
},
|
575 |
+
"engines": {
|
576 |
+
"node": ">=6.14.2"
|
577 |
+
}
|
578 |
+
},
|
579 |
+
"node_modules/cli-color": {
|
580 |
+
"version": "2.0.3",
|
581 |
+
"resolved": "https://registry.npmjs.org/cli-color/-/cli-color-2.0.3.tgz",
|
582 |
+
"integrity": "sha512-OkoZnxyC4ERN3zLzZaY9Emb7f/MhBOIpePv0Ycok0fJYT+Ouo00UBEIwsVsr0yoow++n5YWlSUgST9GKhNHiRQ==",
|
583 |
+
"dependencies": {
|
584 |
+
"d": "^1.0.1",
|
585 |
+
"es5-ext": "^0.10.61",
|
586 |
+
"es6-iterator": "^2.0.3",
|
587 |
+
"memoizee": "^0.4.15",
|
588 |
+
"timers-ext": "^0.1.7"
|
589 |
+
},
|
590 |
+
"engines": {
|
591 |
+
"node": ">=0.10"
|
592 |
+
}
|
593 |
+
},
|
594 |
+
"node_modules/code-red": {
|
595 |
+
"version": "1.0.4",
|
596 |
+
"resolved": "https://registry.npmjs.org/code-red/-/code-red-1.0.4.tgz",
|
597 |
+
"integrity": "sha512-7qJWqItLA8/VPVlKJlFXU+NBlo/qyfs39aJcuMT/2ere32ZqvF5OSxgdM5xOfJJ7O429gg2HM47y8v9P+9wrNw==",
|
598 |
+
"peer": true,
|
599 |
+
"dependencies": {
|
600 |
+
"@jridgewell/sourcemap-codec": "^1.4.15",
|
601 |
+
"@types/estree": "^1.0.1",
|
602 |
+
"acorn": "^8.10.0",
|
603 |
+
"estree-walker": "^3.0.3",
|
604 |
+
"periscopic": "^3.1.0"
|
605 |
+
}
|
606 |
+
},
|
607 |
+
"node_modules/css-tree": {
|
608 |
+
"version": "2.3.1",
|
609 |
+
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz",
|
610 |
+
"integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==",
|
611 |
+
"peer": true,
|
612 |
+
"dependencies": {
|
613 |
+
"mdn-data": "2.0.30",
|
614 |
+
"source-map-js": "^1.0.1"
|
615 |
+
},
|
616 |
+
"engines": {
|
617 |
+
"node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0"
|
618 |
+
}
|
619 |
+
},
|
620 |
+
"node_modules/d": {
|
621 |
+
"version": "1.0.1",
|
622 |
+
"resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",
|
623 |
+
"integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==",
|
624 |
+
"dependencies": {
|
625 |
+
"es5-ext": "^0.10.50",
|
626 |
+
"type": "^1.0.1"
|
627 |
+
}
|
628 |
+
},
|
629 |
+
"node_modules/deepmerge": {
|
630 |
+
"version": "4.3.1",
|
631 |
+
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
|
632 |
+
"integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
|
633 |
+
"engines": {
|
634 |
+
"node": ">=0.10.0"
|
635 |
+
}
|
636 |
+
},
|
637 |
+
"node_modules/dequal": {
|
638 |
+
"version": "2.0.3",
|
639 |
+
"resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
|
640 |
+
"integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",
|
641 |
+
"peer": true,
|
642 |
+
"engines": {
|
643 |
+
"node": ">=6"
|
644 |
+
}
|
645 |
+
},
|
646 |
+
"node_modules/es5-ext": {
|
647 |
+
"version": "0.10.62",
|
648 |
+
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz",
|
649 |
+
"integrity": "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==",
|
650 |
+
"hasInstallScript": true,
|
651 |
+
"dependencies": {
|
652 |
+
"es6-iterator": "^2.0.3",
|
653 |
+
"es6-symbol": "^3.1.3",
|
654 |
+
"next-tick": "^1.1.0"
|
655 |
+
},
|
656 |
+
"engines": {
|
657 |
+
"node": ">=0.10"
|
658 |
+
}
|
659 |
+
},
|
660 |
+
"node_modules/es6-iterator": {
|
661 |
+
"version": "2.0.3",
|
662 |
+
"resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz",
|
663 |
+
"integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==",
|
664 |
+
"dependencies": {
|
665 |
+
"d": "1",
|
666 |
+
"es5-ext": "^0.10.35",
|
667 |
+
"es6-symbol": "^3.1.1"
|
668 |
+
}
|
669 |
+
},
|
670 |
+
"node_modules/es6-symbol": {
|
671 |
+
"version": "3.1.3",
|
672 |
+
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",
|
673 |
+
"integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==",
|
674 |
+
"dependencies": {
|
675 |
+
"d": "^1.0.1",
|
676 |
+
"ext": "^1.1.2"
|
677 |
+
}
|
678 |
+
},
|
679 |
+
"node_modules/es6-weak-map": {
|
680 |
+
"version": "2.0.3",
|
681 |
+
"resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz",
|
682 |
+
"integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==",
|
683 |
+
"dependencies": {
|
684 |
+
"d": "1",
|
685 |
+
"es5-ext": "^0.10.46",
|
686 |
+
"es6-iterator": "^2.0.3",
|
687 |
+
"es6-symbol": "^3.1.1"
|
688 |
+
}
|
689 |
+
},
|
690 |
+
"node_modules/esbuild": {
|
691 |
+
"version": "0.19.5",
|
692 |
+
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.5.tgz",
|
693 |
+
"integrity": "sha512-bUxalY7b1g8vNhQKdB24QDmHeY4V4tw/s6Ak5z+jJX9laP5MoQseTOMemAr0gxssjNcH0MCViG8ONI2kksvfFQ==",
|
694 |
+
"hasInstallScript": true,
|
695 |
+
"bin": {
|
696 |
+
"esbuild": "bin/esbuild"
|
697 |
+
},
|
698 |
+
"engines": {
|
699 |
+
"node": ">=12"
|
700 |
+
},
|
701 |
+
"optionalDependencies": {
|
702 |
+
"@esbuild/android-arm": "0.19.5",
|
703 |
+
"@esbuild/android-arm64": "0.19.5",
|
704 |
+
"@esbuild/android-x64": "0.19.5",
|
705 |
+
"@esbuild/darwin-arm64": "0.19.5",
|
706 |
+
"@esbuild/darwin-x64": "0.19.5",
|
707 |
+
"@esbuild/freebsd-arm64": "0.19.5",
|
708 |
+
"@esbuild/freebsd-x64": "0.19.5",
|
709 |
+
"@esbuild/linux-arm": "0.19.5",
|
710 |
+
"@esbuild/linux-arm64": "0.19.5",
|
711 |
+
"@esbuild/linux-ia32": "0.19.5",
|
712 |
+
"@esbuild/linux-loong64": "0.19.5",
|
713 |
+
"@esbuild/linux-mips64el": "0.19.5",
|
714 |
+
"@esbuild/linux-ppc64": "0.19.5",
|
715 |
+
"@esbuild/linux-riscv64": "0.19.5",
|
716 |
+
"@esbuild/linux-s390x": "0.19.5",
|
717 |
+
"@esbuild/linux-x64": "0.19.5",
|
718 |
+
"@esbuild/netbsd-x64": "0.19.5",
|
719 |
+
"@esbuild/openbsd-x64": "0.19.5",
|
720 |
+
"@esbuild/sunos-x64": "0.19.5",
|
721 |
+
"@esbuild/win32-arm64": "0.19.5",
|
722 |
+
"@esbuild/win32-ia32": "0.19.5",
|
723 |
+
"@esbuild/win32-x64": "0.19.5"
|
724 |
+
}
|
725 |
+
},
|
726 |
+
"node_modules/estree-walker": {
|
727 |
+
"version": "3.0.3",
|
728 |
+
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
|
729 |
+
"integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
|
730 |
+
"peer": true,
|
731 |
+
"dependencies": {
|
732 |
+
"@types/estree": "^1.0.0"
|
733 |
+
}
|
734 |
+
},
|
735 |
+
"node_modules/event-emitter": {
|
736 |
+
"version": "0.3.5",
|
737 |
+
"resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz",
|
738 |
+
"integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==",
|
739 |
+
"dependencies": {
|
740 |
+
"d": "1",
|
741 |
+
"es5-ext": "~0.10.14"
|
742 |
+
}
|
743 |
+
},
|
744 |
+
"node_modules/ext": {
|
745 |
+
"version": "1.7.0",
|
746 |
+
"resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz",
|
747 |
+
"integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==",
|
748 |
+
"dependencies": {
|
749 |
+
"type": "^2.7.2"
|
750 |
+
}
|
751 |
+
},
|
752 |
+
"node_modules/ext/node_modules/type": {
|
753 |
+
"version": "2.7.2",
|
754 |
+
"resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz",
|
755 |
+
"integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw=="
|
756 |
+
},
|
757 |
+
"node_modules/globalyzer": {
|
758 |
+
"version": "0.1.0",
|
759 |
+
"resolved": "https://registry.npmjs.org/globalyzer/-/globalyzer-0.1.0.tgz",
|
760 |
+
"integrity": "sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q=="
|
761 |
+
},
|
762 |
+
"node_modules/globrex": {
|
763 |
+
"version": "0.1.2",
|
764 |
+
"resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz",
|
765 |
+
"integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg=="
|
766 |
+
},
|
767 |
+
"node_modules/intl-messageformat": {
|
768 |
+
"version": "9.13.0",
|
769 |
+
"resolved": "https://registry.npmjs.org/intl-messageformat/-/intl-messageformat-9.13.0.tgz",
|
770 |
+
"integrity": "sha512-7sGC7QnSQGa5LZP7bXLDhVDtQOeKGeBFGHF2Y8LVBwYZoQZCgWeKoPGTa5GMG8g/TzDgeXuYJQis7Ggiw2xTOw==",
|
771 |
+
"dependencies": {
|
772 |
+
"@formatjs/ecma402-abstract": "1.11.4",
|
773 |
+
"@formatjs/fast-memoize": "1.2.1",
|
774 |
+
"@formatjs/icu-messageformat-parser": "2.1.0",
|
775 |
+
"tslib": "^2.1.0"
|
776 |
+
}
|
777 |
+
},
|
778 |
+
"node_modules/is-promise": {
|
779 |
+
"version": "2.2.2",
|
780 |
+
"resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz",
|
781 |
+
"integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ=="
|
782 |
+
},
|
783 |
+
"node_modules/is-reference": {
|
784 |
+
"version": "3.0.2",
|
785 |
+
"resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.2.tgz",
|
786 |
+
"integrity": "sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg==",
|
787 |
+
"peer": true,
|
788 |
+
"dependencies": {
|
789 |
+
"@types/estree": "*"
|
790 |
+
}
|
791 |
+
},
|
792 |
+
"node_modules/locate-character": {
|
793 |
+
"version": "3.0.0",
|
794 |
+
"resolved": "https://registry.npmjs.org/locate-character/-/locate-character-3.0.0.tgz",
|
795 |
+
"integrity": "sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==",
|
796 |
+
"peer": true
|
797 |
+
},
|
798 |
+
"node_modules/lru-queue": {
|
799 |
+
"version": "0.1.0",
|
800 |
+
"resolved": "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz",
|
801 |
+
"integrity": "sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==",
|
802 |
+
"dependencies": {
|
803 |
+
"es5-ext": "~0.10.2"
|
804 |
+
}
|
805 |
+
},
|
806 |
+
"node_modules/magic-string": {
|
807 |
+
"version": "0.30.5",
|
808 |
+
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.5.tgz",
|
809 |
+
"integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==",
|
810 |
+
"peer": true,
|
811 |
+
"dependencies": {
|
812 |
+
"@jridgewell/sourcemap-codec": "^1.4.15"
|
813 |
+
},
|
814 |
+
"engines": {
|
815 |
+
"node": ">=12"
|
816 |
+
}
|
817 |
+
},
|
818 |
+
"node_modules/mdn-data": {
|
819 |
+
"version": "2.0.30",
|
820 |
+
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz",
|
821 |
+
"integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==",
|
822 |
+
"peer": true
|
823 |
+
},
|
824 |
+
"node_modules/memoizee": {
|
825 |
+
"version": "0.4.15",
|
826 |
+
"resolved": "https://registry.npmjs.org/memoizee/-/memoizee-0.4.15.tgz",
|
827 |
+
"integrity": "sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==",
|
828 |
+
"dependencies": {
|
829 |
+
"d": "^1.0.1",
|
830 |
+
"es5-ext": "^0.10.53",
|
831 |
+
"es6-weak-map": "^2.0.3",
|
832 |
+
"event-emitter": "^0.3.5",
|
833 |
+
"is-promise": "^2.2.2",
|
834 |
+
"lru-queue": "^0.1.0",
|
835 |
+
"next-tick": "^1.1.0",
|
836 |
+
"timers-ext": "^0.1.7"
|
837 |
+
}
|
838 |
+
},
|
839 |
+
"node_modules/mri": {
|
840 |
+
"version": "1.2.0",
|
841 |
+
"resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz",
|
842 |
+
"integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==",
|
843 |
+
"engines": {
|
844 |
+
"node": ">=4"
|
845 |
+
}
|
846 |
+
},
|
847 |
+
"node_modules/next-tick": {
|
848 |
+
"version": "1.1.0",
|
849 |
+
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz",
|
850 |
+
"integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ=="
|
851 |
+
},
|
852 |
+
"node_modules/node-gyp-build": {
|
853 |
+
"version": "4.6.1",
|
854 |
+
"resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.1.tgz",
|
855 |
+
"integrity": "sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ==",
|
856 |
+
"bin": {
|
857 |
+
"node-gyp-build": "bin.js",
|
858 |
+
"node-gyp-build-optional": "optional.js",
|
859 |
+
"node-gyp-build-test": "build-test.js"
|
860 |
+
}
|
861 |
+
},
|
862 |
+
"node_modules/periscopic": {
|
863 |
+
"version": "3.1.0",
|
864 |
+
"resolved": "https://registry.npmjs.org/periscopic/-/periscopic-3.1.0.tgz",
|
865 |
+
"integrity": "sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==",
|
866 |
+
"peer": true,
|
867 |
+
"dependencies": {
|
868 |
+
"@types/estree": "^1.0.0",
|
869 |
+
"estree-walker": "^3.0.0",
|
870 |
+
"is-reference": "^3.0.0"
|
871 |
+
}
|
872 |
+
},
|
873 |
+
"node_modules/sade": {
|
874 |
+
"version": "1.8.1",
|
875 |
+
"resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz",
|
876 |
+
"integrity": "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==",
|
877 |
+
"dependencies": {
|
878 |
+
"mri": "^1.1.0"
|
879 |
+
},
|
880 |
+
"engines": {
|
881 |
+
"node": ">=6"
|
882 |
+
}
|
883 |
+
},
|
884 |
+
"node_modules/semiver": {
|
885 |
+
"version": "1.1.0",
|
886 |
+
"resolved": "https://registry.npmjs.org/semiver/-/semiver-1.1.0.tgz",
|
887 |
+
"integrity": "sha512-QNI2ChmuioGC1/xjyYwyZYADILWyW6AmS1UH6gDj/SFUUUS4MBAWs/7mxnkRPc/F4iHezDP+O8t0dO8WHiEOdg==",
|
888 |
+
"engines": {
|
889 |
+
"node": ">=6"
|
890 |
+
}
|
891 |
+
},
|
892 |
+
"node_modules/source-map-js": {
|
893 |
+
"version": "1.0.2",
|
894 |
+
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
|
895 |
+
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
|
896 |
+
"peer": true,
|
897 |
+
"engines": {
|
898 |
+
"node": ">=0.10.0"
|
899 |
+
}
|
900 |
+
},
|
901 |
+
"node_modules/svelte": {
|
902 |
+
"version": "4.2.2",
|
903 |
+
"resolved": "https://registry.npmjs.org/svelte/-/svelte-4.2.2.tgz",
|
904 |
+
"integrity": "sha512-My2tytF2e2NnHSpn2M7/3VdXT4JdTglYVUuSuK/mXL2XtulPYbeBfl8Dm1QiaKRn0zoULRnL+EtfZHHP0k4H3A==",
|
905 |
+
"peer": true,
|
906 |
+
"dependencies": {
|
907 |
+
"@ampproject/remapping": "^2.2.1",
|
908 |
+
"@jridgewell/sourcemap-codec": "^1.4.15",
|
909 |
+
"@jridgewell/trace-mapping": "^0.3.18",
|
910 |
+
"acorn": "^8.9.0",
|
911 |
+
"aria-query": "^5.3.0",
|
912 |
+
"axobject-query": "^3.2.1",
|
913 |
+
"code-red": "^1.0.3",
|
914 |
+
"css-tree": "^2.3.1",
|
915 |
+
"estree-walker": "^3.0.3",
|
916 |
+
"is-reference": "^3.0.1",
|
917 |
+
"locate-character": "^3.0.0",
|
918 |
+
"magic-string": "^0.30.4",
|
919 |
+
"periscopic": "^3.1.0"
|
920 |
+
},
|
921 |
+
"engines": {
|
922 |
+
"node": ">=16"
|
923 |
+
}
|
924 |
+
},
|
925 |
+
"node_modules/svelte-i18n": {
|
926 |
+
"version": "3.7.4",
|
927 |
+
"resolved": "https://registry.npmjs.org/svelte-i18n/-/svelte-i18n-3.7.4.tgz",
|
928 |
+
"integrity": "sha512-yGRCNo+eBT4cPuU7IVsYTYjxB7I2V8qgUZPlHnNctJj5IgbJgV78flsRzpjZ/8iUYZrS49oCt7uxlU3AZv/N5Q==",
|
929 |
+
"dependencies": {
|
930 |
+
"cli-color": "^2.0.3",
|
931 |
+
"deepmerge": "^4.2.2",
|
932 |
+
"esbuild": "^0.19.2",
|
933 |
+
"estree-walker": "^2",
|
934 |
+
"intl-messageformat": "^9.13.0",
|
935 |
+
"sade": "^1.8.1",
|
936 |
+
"tiny-glob": "^0.2.9"
|
937 |
+
},
|
938 |
+
"bin": {
|
939 |
+
"svelte-i18n": "dist/cli.js"
|
940 |
+
},
|
941 |
+
"engines": {
|
942 |
+
"node": ">= 16"
|
943 |
+
},
|
944 |
+
"peerDependencies": {
|
945 |
+
"svelte": "^3 || ^4"
|
946 |
+
}
|
947 |
+
},
|
948 |
+
"node_modules/svelte-i18n/node_modules/estree-walker": {
|
949 |
+
"version": "2.0.2",
|
950 |
+
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
|
951 |
+
"integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="
|
952 |
+
},
|
953 |
+
"node_modules/timers-ext": {
|
954 |
+
"version": "0.1.7",
|
955 |
+
"resolved": "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz",
|
956 |
+
"integrity": "sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ==",
|
957 |
+
"dependencies": {
|
958 |
+
"es5-ext": "~0.10.46",
|
959 |
+
"next-tick": "1"
|
960 |
+
}
|
961 |
+
},
|
962 |
+
"node_modules/tiny-glob": {
|
963 |
+
"version": "0.2.9",
|
964 |
+
"resolved": "https://registry.npmjs.org/tiny-glob/-/tiny-glob-0.2.9.tgz",
|
965 |
+
"integrity": "sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==",
|
966 |
+
"dependencies": {
|
967 |
+
"globalyzer": "0.1.0",
|
968 |
+
"globrex": "^0.1.2"
|
969 |
+
}
|
970 |
+
},
|
971 |
+
"node_modules/tslib": {
|
972 |
+
"version": "2.6.2",
|
973 |
+
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
|
974 |
+
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
|
975 |
+
},
|
976 |
+
"node_modules/type": {
|
977 |
+
"version": "1.2.0",
|
978 |
+
"resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
|
979 |
+
"integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg=="
|
980 |
+
},
|
981 |
+
"node_modules/ws": {
|
982 |
+
"version": "8.14.2",
|
983 |
+
"resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz",
|
984 |
+
"integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==",
|
985 |
+
"engines": {
|
986 |
+
"node": ">=10.0.0"
|
987 |
+
},
|
988 |
+
"peerDependencies": {
|
989 |
+
"bufferutil": "^4.0.1",
|
990 |
+
"utf-8-validate": ">=5.0.2"
|
991 |
+
},
|
992 |
+
"peerDependenciesMeta": {
|
993 |
+
"bufferutil": {
|
994 |
+
"optional": true
|
995 |
+
},
|
996 |
+
"utf-8-validate": {
|
997 |
+
"optional": true
|
998 |
+
}
|
999 |
+
}
|
1000 |
+
}
|
1001 |
+
}
|
1002 |
+
}
|
src/frontend/package.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "gradio_folium",
|
3 |
+
"version": "0.2.0-beta.6",
|
4 |
+
"description": "Gradio UI packages",
|
5 |
+
"type": "module",
|
6 |
+
"author": "",
|
7 |
+
"license": "ISC",
|
8 |
+
"private": false,
|
9 |
+
"main_changeset": true,
|
10 |
+
"exports": {
|
11 |
+
".": "./Index.svelte",
|
12 |
+
"./example": "./Example.svelte",
|
13 |
+
"./package.json": "./package.json"
|
14 |
+
},
|
15 |
+
"dependencies": {
|
16 |
+
"@gradio/atoms": "0.2.0-beta.4",
|
17 |
+
"@gradio/statustracker": "0.3.0-beta.6",
|
18 |
+
"@gradio/utils": "0.2.0-beta.4",
|
19 |
+
"@gradio/upload": "0.3.0-beta.4",
|
20 |
+
"@zerodevx/svelte-json-view": "^1.0.7"
|
21 |
+
}
|
22 |
+
}
|
src/package-lock.json
ADDED
@@ -0,0 +1,1002 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "gradio_folium",
|
3 |
+
"version": "0.2.0-beta.6",
|
4 |
+
"lockfileVersion": 3,
|
5 |
+
"requires": true,
|
6 |
+
"packages": {
|
7 |
+
"": {
|
8 |
+
"name": "gradio_folium",
|
9 |
+
"version": "0.2.0-beta.6",
|
10 |
+
"license": "ISC",
|
11 |
+
"dependencies": {
|
12 |
+
"@gradio/atoms": "0.2.0-beta.4",
|
13 |
+
"@gradio/statustracker": "0.3.0-beta.6",
|
14 |
+
"@gradio/upload": "0.3.0-beta.4",
|
15 |
+
"@gradio/utils": "0.2.0-beta.4",
|
16 |
+
"@zerodevx/svelte-json-view": "^1.0.7"
|
17 |
+
}
|
18 |
+
},
|
19 |
+
"node_modules/@ampproject/remapping": {
|
20 |
+
"version": "2.2.1",
|
21 |
+
"resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.1.tgz",
|
22 |
+
"integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg==",
|
23 |
+
"peer": true,
|
24 |
+
"dependencies": {
|
25 |
+
"@jridgewell/gen-mapping": "^0.3.0",
|
26 |
+
"@jridgewell/trace-mapping": "^0.3.9"
|
27 |
+
},
|
28 |
+
"engines": {
|
29 |
+
"node": ">=6.0.0"
|
30 |
+
}
|
31 |
+
},
|
32 |
+
"node_modules/@esbuild/android-arm": {
|
33 |
+
"version": "0.19.5",
|
34 |
+
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.5.tgz",
|
35 |
+
"integrity": "sha512-bhvbzWFF3CwMs5tbjf3ObfGqbl/17ict2/uwOSfr3wmxDE6VdS2GqY/FuzIPe0q0bdhj65zQsvqfArI9MY6+AA==",
|
36 |
+
"cpu": [
|
37 |
+
"arm"
|
38 |
+
],
|
39 |
+
"optional": true,
|
40 |
+
"os": [
|
41 |
+
"android"
|
42 |
+
],
|
43 |
+
"engines": {
|
44 |
+
"node": ">=12"
|
45 |
+
}
|
46 |
+
},
|
47 |
+
"node_modules/@esbuild/android-arm64": {
|
48 |
+
"version": "0.19.5",
|
49 |
+
"resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.5.tgz",
|
50 |
+
"integrity": "sha512-5d1OkoJxnYQfmC+Zd8NBFjkhyCNYwM4n9ODrycTFY6Jk1IGiZ+tjVJDDSwDt77nK+tfpGP4T50iMtVi4dEGzhQ==",
|
51 |
+
"cpu": [
|
52 |
+
"arm64"
|
53 |
+
],
|
54 |
+
"optional": true,
|
55 |
+
"os": [
|
56 |
+
"android"
|
57 |
+
],
|
58 |
+
"engines": {
|
59 |
+
"node": ">=12"
|
60 |
+
}
|
61 |
+
},
|
62 |
+
"node_modules/@esbuild/android-x64": {
|
63 |
+
"version": "0.19.5",
|
64 |
+
"resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.5.tgz",
|
65 |
+
"integrity": "sha512-9t+28jHGL7uBdkBjL90QFxe7DVA+KGqWlHCF8ChTKyaKO//VLuoBricQCgwhOjA1/qOczsw843Fy4cbs4H3DVA==",
|
66 |
+
"cpu": [
|
67 |
+
"x64"
|
68 |
+
],
|
69 |
+
"optional": true,
|
70 |
+
"os": [
|
71 |
+
"android"
|
72 |
+
],
|
73 |
+
"engines": {
|
74 |
+
"node": ">=12"
|
75 |
+
}
|
76 |
+
},
|
77 |
+
"node_modules/@esbuild/darwin-arm64": {
|
78 |
+
"version": "0.19.5",
|
79 |
+
"resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.5.tgz",
|
80 |
+
"integrity": "sha512-mvXGcKqqIqyKoxq26qEDPHJuBYUA5KizJncKOAf9eJQez+L9O+KfvNFu6nl7SCZ/gFb2QPaRqqmG0doSWlgkqw==",
|
81 |
+
"cpu": [
|
82 |
+
"arm64"
|
83 |
+
],
|
84 |
+
"optional": true,
|
85 |
+
"os": [
|
86 |
+
"darwin"
|
87 |
+
],
|
88 |
+
"engines": {
|
89 |
+
"node": ">=12"
|
90 |
+
}
|
91 |
+
},
|
92 |
+
"node_modules/@esbuild/darwin-x64": {
|
93 |
+
"version": "0.19.5",
|
94 |
+
"resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.5.tgz",
|
95 |
+
"integrity": "sha512-Ly8cn6fGLNet19s0X4unjcniX24I0RqjPv+kurpXabZYSXGM4Pwpmf85WHJN3lAgB8GSth7s5A0r856S+4DyiA==",
|
96 |
+
"cpu": [
|
97 |
+
"x64"
|
98 |
+
],
|
99 |
+
"optional": true,
|
100 |
+
"os": [
|
101 |
+
"darwin"
|
102 |
+
],
|
103 |
+
"engines": {
|
104 |
+
"node": ">=12"
|
105 |
+
}
|
106 |
+
},
|
107 |
+
"node_modules/@esbuild/freebsd-arm64": {
|
108 |
+
"version": "0.19.5",
|
109 |
+
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.5.tgz",
|
110 |
+
"integrity": "sha512-GGDNnPWTmWE+DMchq1W8Sd0mUkL+APvJg3b11klSGUDvRXh70JqLAO56tubmq1s2cgpVCSKYywEiKBfju8JztQ==",
|
111 |
+
"cpu": [
|
112 |
+
"arm64"
|
113 |
+
],
|
114 |
+
"optional": true,
|
115 |
+
"os": [
|
116 |
+
"freebsd"
|
117 |
+
],
|
118 |
+
"engines": {
|
119 |
+
"node": ">=12"
|
120 |
+
}
|
121 |
+
},
|
122 |
+
"node_modules/@esbuild/freebsd-x64": {
|
123 |
+
"version": "0.19.5",
|
124 |
+
"resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.5.tgz",
|
125 |
+
"integrity": "sha512-1CCwDHnSSoA0HNwdfoNY0jLfJpd7ygaLAp5EHFos3VWJCRX9DMwWODf96s9TSse39Br7oOTLryRVmBoFwXbuuQ==",
|
126 |
+
"cpu": [
|
127 |
+
"x64"
|
128 |
+
],
|
129 |
+
"optional": true,
|
130 |
+
"os": [
|
131 |
+
"freebsd"
|
132 |
+
],
|
133 |
+
"engines": {
|
134 |
+
"node": ">=12"
|
135 |
+
}
|
136 |
+
},
|
137 |
+
"node_modules/@esbuild/linux-arm": {
|
138 |
+
"version": "0.19.5",
|
139 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.5.tgz",
|
140 |
+
"integrity": "sha512-lrWXLY/vJBzCPC51QN0HM71uWgIEpGSjSZZADQhq7DKhPcI6NH1IdzjfHkDQws2oNpJKpR13kv7/pFHBbDQDwQ==",
|
141 |
+
"cpu": [
|
142 |
+
"arm"
|
143 |
+
],
|
144 |
+
"optional": true,
|
145 |
+
"os": [
|
146 |
+
"linux"
|
147 |
+
],
|
148 |
+
"engines": {
|
149 |
+
"node": ">=12"
|
150 |
+
}
|
151 |
+
},
|
152 |
+
"node_modules/@esbuild/linux-arm64": {
|
153 |
+
"version": "0.19.5",
|
154 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.5.tgz",
|
155 |
+
"integrity": "sha512-o3vYippBmSrjjQUCEEiTZ2l+4yC0pVJD/Dl57WfPwwlvFkrxoSO7rmBZFii6kQB3Wrn/6GwJUPLU5t52eq2meA==",
|
156 |
+
"cpu": [
|
157 |
+
"arm64"
|
158 |
+
],
|
159 |
+
"optional": true,
|
160 |
+
"os": [
|
161 |
+
"linux"
|
162 |
+
],
|
163 |
+
"engines": {
|
164 |
+
"node": ">=12"
|
165 |
+
}
|
166 |
+
},
|
167 |
+
"node_modules/@esbuild/linux-ia32": {
|
168 |
+
"version": "0.19.5",
|
169 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.5.tgz",
|
170 |
+
"integrity": "sha512-MkjHXS03AXAkNp1KKkhSKPOCYztRtK+KXDNkBa6P78F8Bw0ynknCSClO/ztGszILZtyO/lVKpa7MolbBZ6oJtQ==",
|
171 |
+
"cpu": [
|
172 |
+
"ia32"
|
173 |
+
],
|
174 |
+
"optional": true,
|
175 |
+
"os": [
|
176 |
+
"linux"
|
177 |
+
],
|
178 |
+
"engines": {
|
179 |
+
"node": ">=12"
|
180 |
+
}
|
181 |
+
},
|
182 |
+
"node_modules/@esbuild/linux-loong64": {
|
183 |
+
"version": "0.19.5",
|
184 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.5.tgz",
|
185 |
+
"integrity": "sha512-42GwZMm5oYOD/JHqHska3Jg0r+XFb/fdZRX+WjADm3nLWLcIsN27YKtqxzQmGNJgu0AyXg4HtcSK9HuOk3v1Dw==",
|
186 |
+
"cpu": [
|
187 |
+
"loong64"
|
188 |
+
],
|
189 |
+
"optional": true,
|
190 |
+
"os": [
|
191 |
+
"linux"
|
192 |
+
],
|
193 |
+
"engines": {
|
194 |
+
"node": ">=12"
|
195 |
+
}
|
196 |
+
},
|
197 |
+
"node_modules/@esbuild/linux-mips64el": {
|
198 |
+
"version": "0.19.5",
|
199 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.5.tgz",
|
200 |
+
"integrity": "sha512-kcjndCSMitUuPJobWCnwQ9lLjiLZUR3QLQmlgaBfMX23UEa7ZOrtufnRds+6WZtIS9HdTXqND4yH8NLoVVIkcg==",
|
201 |
+
"cpu": [
|
202 |
+
"mips64el"
|
203 |
+
],
|
204 |
+
"optional": true,
|
205 |
+
"os": [
|
206 |
+
"linux"
|
207 |
+
],
|
208 |
+
"engines": {
|
209 |
+
"node": ">=12"
|
210 |
+
}
|
211 |
+
},
|
212 |
+
"node_modules/@esbuild/linux-ppc64": {
|
213 |
+
"version": "0.19.5",
|
214 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.5.tgz",
|
215 |
+
"integrity": "sha512-yJAxJfHVm0ZbsiljbtFFP1BQKLc8kUF6+17tjQ78QjqjAQDnhULWiTA6u0FCDmYT1oOKS9PzZ2z0aBI+Mcyj7Q==",
|
216 |
+
"cpu": [
|
217 |
+
"ppc64"
|
218 |
+
],
|
219 |
+
"optional": true,
|
220 |
+
"os": [
|
221 |
+
"linux"
|
222 |
+
],
|
223 |
+
"engines": {
|
224 |
+
"node": ">=12"
|
225 |
+
}
|
226 |
+
},
|
227 |
+
"node_modules/@esbuild/linux-riscv64": {
|
228 |
+
"version": "0.19.5",
|
229 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.5.tgz",
|
230 |
+
"integrity": "sha512-5u8cIR/t3gaD6ad3wNt1MNRstAZO+aNyBxu2We8X31bA8XUNyamTVQwLDA1SLoPCUehNCymhBhK3Qim1433Zag==",
|
231 |
+
"cpu": [
|
232 |
+
"riscv64"
|
233 |
+
],
|
234 |
+
"optional": true,
|
235 |
+
"os": [
|
236 |
+
"linux"
|
237 |
+
],
|
238 |
+
"engines": {
|
239 |
+
"node": ">=12"
|
240 |
+
}
|
241 |
+
},
|
242 |
+
"node_modules/@esbuild/linux-s390x": {
|
243 |
+
"version": "0.19.5",
|
244 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.5.tgz",
|
245 |
+
"integrity": "sha512-Z6JrMyEw/EmZBD/OFEFpb+gao9xJ59ATsoTNlj39jVBbXqoZm4Xntu6wVmGPB/OATi1uk/DB+yeDPv2E8PqZGw==",
|
246 |
+
"cpu": [
|
247 |
+
"s390x"
|
248 |
+
],
|
249 |
+
"optional": true,
|
250 |
+
"os": [
|
251 |
+
"linux"
|
252 |
+
],
|
253 |
+
"engines": {
|
254 |
+
"node": ">=12"
|
255 |
+
}
|
256 |
+
},
|
257 |
+
"node_modules/@esbuild/linux-x64": {
|
258 |
+
"version": "0.19.5",
|
259 |
+
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.5.tgz",
|
260 |
+
"integrity": "sha512-psagl+2RlK1z8zWZOmVdImisMtrUxvwereIdyJTmtmHahJTKb64pAcqoPlx6CewPdvGvUKe2Jw+0Z/0qhSbG1A==",
|
261 |
+
"cpu": [
|
262 |
+
"x64"
|
263 |
+
],
|
264 |
+
"optional": true,
|
265 |
+
"os": [
|
266 |
+
"linux"
|
267 |
+
],
|
268 |
+
"engines": {
|
269 |
+
"node": ">=12"
|
270 |
+
}
|
271 |
+
},
|
272 |
+
"node_modules/@esbuild/netbsd-x64": {
|
273 |
+
"version": "0.19.5",
|
274 |
+
"resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.5.tgz",
|
275 |
+
"integrity": "sha512-kL2l+xScnAy/E/3119OggX8SrWyBEcqAh8aOY1gr4gPvw76la2GlD4Ymf832UCVbmuWeTf2adkZDK+h0Z/fB4g==",
|
276 |
+
"cpu": [
|
277 |
+
"x64"
|
278 |
+
],
|
279 |
+
"optional": true,
|
280 |
+
"os": [
|
281 |
+
"netbsd"
|
282 |
+
],
|
283 |
+
"engines": {
|
284 |
+
"node": ">=12"
|
285 |
+
}
|
286 |
+
},
|
287 |
+
"node_modules/@esbuild/openbsd-x64": {
|
288 |
+
"version": "0.19.5",
|
289 |
+
"resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.5.tgz",
|
290 |
+
"integrity": "sha512-sPOfhtzFufQfTBgRnE1DIJjzsXukKSvZxloZbkJDG383q0awVAq600pc1nfqBcl0ice/WN9p4qLc39WhBShRTA==",
|
291 |
+
"cpu": [
|
292 |
+
"x64"
|
293 |
+
],
|
294 |
+
"optional": true,
|
295 |
+
"os": [
|
296 |
+
"openbsd"
|
297 |
+
],
|
298 |
+
"engines": {
|
299 |
+
"node": ">=12"
|
300 |
+
}
|
301 |
+
},
|
302 |
+
"node_modules/@esbuild/sunos-x64": {
|
303 |
+
"version": "0.19.5",
|
304 |
+
"resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.5.tgz",
|
305 |
+
"integrity": "sha512-dGZkBXaafuKLpDSjKcB0ax0FL36YXCvJNnztjKV+6CO82tTYVDSH2lifitJ29jxRMoUhgkg9a+VA/B03WK5lcg==",
|
306 |
+
"cpu": [
|
307 |
+
"x64"
|
308 |
+
],
|
309 |
+
"optional": true,
|
310 |
+
"os": [
|
311 |
+
"sunos"
|
312 |
+
],
|
313 |
+
"engines": {
|
314 |
+
"node": ">=12"
|
315 |
+
}
|
316 |
+
},
|
317 |
+
"node_modules/@esbuild/win32-arm64": {
|
318 |
+
"version": "0.19.5",
|
319 |
+
"resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.5.tgz",
|
320 |
+
"integrity": "sha512-dWVjD9y03ilhdRQ6Xig1NWNgfLtf2o/STKTS+eZuF90fI2BhbwD6WlaiCGKptlqXlURVB5AUOxUj09LuwKGDTg==",
|
321 |
+
"cpu": [
|
322 |
+
"arm64"
|
323 |
+
],
|
324 |
+
"optional": true,
|
325 |
+
"os": [
|
326 |
+
"win32"
|
327 |
+
],
|
328 |
+
"engines": {
|
329 |
+
"node": ">=12"
|
330 |
+
}
|
331 |
+
},
|
332 |
+
"node_modules/@esbuild/win32-ia32": {
|
333 |
+
"version": "0.19.5",
|
334 |
+
"resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.5.tgz",
|
335 |
+
"integrity": "sha512-4liggWIA4oDgUxqpZwrDhmEfAH4d0iljanDOK7AnVU89T6CzHon/ony8C5LeOdfgx60x5cnQJFZwEydVlYx4iw==",
|
336 |
+
"cpu": [
|
337 |
+
"ia32"
|
338 |
+
],
|
339 |
+
"optional": true,
|
340 |
+
"os": [
|
341 |
+
"win32"
|
342 |
+
],
|
343 |
+
"engines": {
|
344 |
+
"node": ">=12"
|
345 |
+
}
|
346 |
+
},
|
347 |
+
"node_modules/@esbuild/win32-x64": {
|
348 |
+
"version": "0.19.5",
|
349 |
+
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.5.tgz",
|
350 |
+
"integrity": "sha512-czTrygUsB/jlM8qEW5MD8bgYU2Xg14lo6kBDXW6HdxKjh8M5PzETGiSHaz9MtbXBYDloHNUAUW2tMiKW4KM9Mw==",
|
351 |
+
"cpu": [
|
352 |
+
"x64"
|
353 |
+
],
|
354 |
+
"optional": true,
|
355 |
+
"os": [
|
356 |
+
"win32"
|
357 |
+
],
|
358 |
+
"engines": {
|
359 |
+
"node": ">=12"
|
360 |
+
}
|
361 |
+
},
|
362 |
+
"node_modules/@formatjs/ecma402-abstract": {
|
363 |
+
"version": "1.11.4",
|
364 |
+
"resolved": "https://registry.npmjs.org/@formatjs/ecma402-abstract/-/ecma402-abstract-1.11.4.tgz",
|
365 |
+
"integrity": "sha512-EBikYFp2JCdIfGEb5G9dyCkTGDmC57KSHhRQOC3aYxoPWVZvfWCDjZwkGYHN7Lis/fmuWl906bnNTJifDQ3sXw==",
|
366 |
+
"dependencies": {
|
367 |
+
"@formatjs/intl-localematcher": "0.2.25",
|
368 |
+
"tslib": "^2.1.0"
|
369 |
+
}
|
370 |
+
},
|
371 |
+
"node_modules/@formatjs/fast-memoize": {
|
372 |
+
"version": "1.2.1",
|
373 |
+
"resolved": "https://registry.npmjs.org/@formatjs/fast-memoize/-/fast-memoize-1.2.1.tgz",
|
374 |
+
"integrity": "sha512-Rg0e76nomkz3vF9IPlKeV+Qynok0r7YZjL6syLz4/urSg0IbjPZCB/iYUMNsYA643gh4mgrX3T7KEIFIxJBQeg==",
|
375 |
+
"dependencies": {
|
376 |
+
"tslib": "^2.1.0"
|
377 |
+
}
|
378 |
+
},
|
379 |
+
"node_modules/@formatjs/icu-messageformat-parser": {
|
380 |
+
"version": "2.1.0",
|
381 |
+
"resolved": "https://registry.npmjs.org/@formatjs/icu-messageformat-parser/-/icu-messageformat-parser-2.1.0.tgz",
|
382 |
+
"integrity": "sha512-Qxv/lmCN6hKpBSss2uQ8IROVnta2r9jd3ymUEIjm2UyIkUCHVcbUVRGL/KS/wv7876edvsPe+hjHVJ4z8YuVaw==",
|
383 |
+
"dependencies": {
|
384 |
+
"@formatjs/ecma402-abstract": "1.11.4",
|
385 |
+
"@formatjs/icu-skeleton-parser": "1.3.6",
|
386 |
+
"tslib": "^2.1.0"
|
387 |
+
}
|
388 |
+
},
|
389 |
+
"node_modules/@formatjs/icu-skeleton-parser": {
|
390 |
+
"version": "1.3.6",
|
391 |
+
"resolved": "https://registry.npmjs.org/@formatjs/icu-skeleton-parser/-/icu-skeleton-parser-1.3.6.tgz",
|
392 |
+
"integrity": "sha512-I96mOxvml/YLrwU2Txnd4klA7V8fRhb6JG/4hm3VMNmeJo1F03IpV2L3wWt7EweqNLES59SZ4d6hVOPCSf80Bg==",
|
393 |
+
"dependencies": {
|
394 |
+
"@formatjs/ecma402-abstract": "1.11.4",
|
395 |
+
"tslib": "^2.1.0"
|
396 |
+
}
|
397 |
+
},
|
398 |
+
"node_modules/@formatjs/intl-localematcher": {
|
399 |
+
"version": "0.2.25",
|
400 |
+
"resolved": "https://registry.npmjs.org/@formatjs/intl-localematcher/-/intl-localematcher-0.2.25.tgz",
|
401 |
+
"integrity": "sha512-YmLcX70BxoSopLFdLr1Ds99NdlTI2oWoLbaUW2M406lxOIPzE1KQhRz2fPUkq34xVZQaihCoU29h0KK7An3bhA==",
|
402 |
+
"dependencies": {
|
403 |
+
"tslib": "^2.1.0"
|
404 |
+
}
|
405 |
+
},
|
406 |
+
"node_modules/@gradio/atoms": {
|
407 |
+
"version": "0.2.0-beta.4",
|
408 |
+
"resolved": "https://registry.npmjs.org/@gradio/atoms/-/atoms-0.2.0-beta.4.tgz",
|
409 |
+
"integrity": "sha512-xZfP9oPmb7iiuGl7KB4vVELSVk9f3w5Y9KRIxkAaMb+oeRpmb5uDtKQPAxntpm0W9rKAZmYG+DIWhInlu1eeKA==",
|
410 |
+
"dependencies": {
|
411 |
+
"@gradio/icons": "^0.2.0-beta.1",
|
412 |
+
"@gradio/utils": "^0.2.0-beta.4"
|
413 |
+
}
|
414 |
+
},
|
415 |
+
"node_modules/@gradio/client": {
|
416 |
+
"version": "0.5.2",
|
417 |
+
"resolved": "https://registry.npmjs.org/@gradio/client/-/client-0.5.2.tgz",
|
418 |
+
"integrity": "sha512-aQk3FEJt3R/7d7Xul0KqSUDqh0rwgQQwTXBuLS5qHuf861ym7bJcm/kDqqBgyu3/9pxAsybSdgA/G0QyZSBKgA==",
|
419 |
+
"dependencies": {
|
420 |
+
"bufferutil": "^4.0.7",
|
421 |
+
"semiver": "^1.1.0",
|
422 |
+
"ws": "^8.13.0"
|
423 |
+
},
|
424 |
+
"engines": {
|
425 |
+
"node": ">=18.0.0"
|
426 |
+
}
|
427 |
+
},
|
428 |
+
"node_modules/@gradio/column": {
|
429 |
+
"version": "0.1.0-beta.2",
|
430 |
+
"resolved": "https://registry.npmjs.org/@gradio/column/-/column-0.1.0-beta.2.tgz",
|
431 |
+
"integrity": "sha512-vL0GECdNL4wAaO/o0JcF3fm2xyMrx5DJWXUiPq/sUwqZwwB95srPGKBVTmVja3HproVXCBEnTzPQmRlrwWK67w=="
|
432 |
+
},
|
433 |
+
"node_modules/@gradio/icons": {
|
434 |
+
"version": "0.2.0-beta.1",
|
435 |
+
"resolved": "https://registry.npmjs.org/@gradio/icons/-/icons-0.2.0-beta.1.tgz",
|
436 |
+
"integrity": "sha512-6nwP1NIi0u4YQoSoaqC/rY0wuCvJHsnK+8aHDOE37070JpzBGuxB/VUlEgO7trNz5zI/EJy2htIRYsqz1vKmXA=="
|
437 |
+
},
|
438 |
+
"node_modules/@gradio/statustracker": {
|
439 |
+
"version": "0.3.0-beta.6",
|
440 |
+
"resolved": "https://registry.npmjs.org/@gradio/statustracker/-/statustracker-0.3.0-beta.6.tgz",
|
441 |
+
"integrity": "sha512-AIhaMCnr2uibHdqRrs4K8ZUvZK0q5e430TcvoduLOkaoOrkfnqetrHaHdOLNBz+H4kJlXJRsmt7ZZYV4wwMXRQ==",
|
442 |
+
"dependencies": {
|
443 |
+
"@gradio/atoms": "^0.2.0-beta.4",
|
444 |
+
"@gradio/column": "^0.1.0-beta.2",
|
445 |
+
"@gradio/icons": "^0.2.0-beta.1",
|
446 |
+
"@gradio/utils": "^0.2.0-beta.4"
|
447 |
+
}
|
448 |
+
},
|
449 |
+
"node_modules/@gradio/theme": {
|
450 |
+
"version": "0.2.0-beta.2",
|
451 |
+
"resolved": "https://registry.npmjs.org/@gradio/theme/-/theme-0.2.0-beta.2.tgz",
|
452 |
+
"integrity": "sha512-yKrA8eE02URtXUC9w98lBW8tqZk5oGumbBH7bFKOAhsrv1sbVZKir18P4a2/EL4XJ6Um36MwhPB3D5ipMniV5g=="
|
453 |
+
},
|
454 |
+
"node_modules/@gradio/upload": {
|
455 |
+
"version": "0.3.0-beta.4",
|
456 |
+
"resolved": "https://registry.npmjs.org/@gradio/upload/-/upload-0.3.0-beta.4.tgz",
|
457 |
+
"integrity": "sha512-JFajJHKJCAjZjtXDRZvLifGOs/b38fAuzAMshkDUQaJloRYk4KKpjnyj8d68wkQFzq3SK8ChKwfYoeMX8zp3yA==",
|
458 |
+
"dependencies": {
|
459 |
+
"@gradio/atoms": "^0.2.0-beta.4",
|
460 |
+
"@gradio/client": "^0.5.2",
|
461 |
+
"@gradio/icons": "^0.2.0-beta.1",
|
462 |
+
"@gradio/upload": "^0.3.0-beta.4",
|
463 |
+
"@gradio/utils": "^0.2.0-beta.4"
|
464 |
+
}
|
465 |
+
},
|
466 |
+
"node_modules/@gradio/utils": {
|
467 |
+
"version": "0.2.0-beta.4",
|
468 |
+
"resolved": "https://registry.npmjs.org/@gradio/utils/-/utils-0.2.0-beta.4.tgz",
|
469 |
+
"integrity": "sha512-jaOY3IQs1MnWRagXBICHXl5ZDKFqgF4XMfgsZNjTQxTG6THFOCsrUc14X1BNmXWkh9zVXJJTZcXifekj8O6LZQ==",
|
470 |
+
"dependencies": {
|
471 |
+
"@gradio/theme": "^0.2.0-beta.2",
|
472 |
+
"svelte-i18n": "^3.6.0"
|
473 |
+
}
|
474 |
+
},
|
475 |
+
"node_modules/@jridgewell/gen-mapping": {
|
476 |
+
"version": "0.3.3",
|
477 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz",
|
478 |
+
"integrity": "sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ==",
|
479 |
+
"peer": true,
|
480 |
+
"dependencies": {
|
481 |
+
"@jridgewell/set-array": "^1.0.1",
|
482 |
+
"@jridgewell/sourcemap-codec": "^1.4.10",
|
483 |
+
"@jridgewell/trace-mapping": "^0.3.9"
|
484 |
+
},
|
485 |
+
"engines": {
|
486 |
+
"node": ">=6.0.0"
|
487 |
+
}
|
488 |
+
},
|
489 |
+
"node_modules/@jridgewell/resolve-uri": {
|
490 |
+
"version": "3.1.1",
|
491 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz",
|
492 |
+
"integrity": "sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA==",
|
493 |
+
"peer": true,
|
494 |
+
"engines": {
|
495 |
+
"node": ">=6.0.0"
|
496 |
+
}
|
497 |
+
},
|
498 |
+
"node_modules/@jridgewell/set-array": {
|
499 |
+
"version": "1.1.2",
|
500 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz",
|
501 |
+
"integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==",
|
502 |
+
"peer": true,
|
503 |
+
"engines": {
|
504 |
+
"node": ">=6.0.0"
|
505 |
+
}
|
506 |
+
},
|
507 |
+
"node_modules/@jridgewell/sourcemap-codec": {
|
508 |
+
"version": "1.4.15",
|
509 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz",
|
510 |
+
"integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==",
|
511 |
+
"peer": true
|
512 |
+
},
|
513 |
+
"node_modules/@jridgewell/trace-mapping": {
|
514 |
+
"version": "0.3.20",
|
515 |
+
"resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz",
|
516 |
+
"integrity": "sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q==",
|
517 |
+
"peer": true,
|
518 |
+
"dependencies": {
|
519 |
+
"@jridgewell/resolve-uri": "^3.1.0",
|
520 |
+
"@jridgewell/sourcemap-codec": "^1.4.14"
|
521 |
+
}
|
522 |
+
},
|
523 |
+
"node_modules/@types/estree": {
|
524 |
+
"version": "1.0.3",
|
525 |
+
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.3.tgz",
|
526 |
+
"integrity": "sha512-CS2rOaoQ/eAgAfcTfq6amKG7bsN+EMcgGY4FAFQdvSj2y1ixvOZTUA9mOtCai7E1SYu283XNw7urKK30nP3wkQ==",
|
527 |
+
"peer": true
|
528 |
+
},
|
529 |
+
"node_modules/@zerodevx/svelte-json-view": {
|
530 |
+
"version": "1.0.7",
|
531 |
+
"resolved": "https://registry.npmjs.org/@zerodevx/svelte-json-view/-/svelte-json-view-1.0.7.tgz",
|
532 |
+
"integrity": "sha512-yW0MV+9BCKOwzt3h86y3xDqYdI5st+Rxk+L5pa0Utq7nlPD+VvxyhL7R1gJoLxQvWwjyAvY/fyUCFTdwDyI14w==",
|
533 |
+
"peerDependencies": {
|
534 |
+
"svelte": "^3.57.0 || ^4.0.0"
|
535 |
+
}
|
536 |
+
},
|
537 |
+
"node_modules/acorn": {
|
538 |
+
"version": "8.10.0",
|
539 |
+
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.10.0.tgz",
|
540 |
+
"integrity": "sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==",
|
541 |
+
"peer": true,
|
542 |
+
"bin": {
|
543 |
+
"acorn": "bin/acorn"
|
544 |
+
},
|
545 |
+
"engines": {
|
546 |
+
"node": ">=0.4.0"
|
547 |
+
}
|
548 |
+
},
|
549 |
+
"node_modules/aria-query": {
|
550 |
+
"version": "5.3.0",
|
551 |
+
"resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.0.tgz",
|
552 |
+
"integrity": "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==",
|
553 |
+
"peer": true,
|
554 |
+
"dependencies": {
|
555 |
+
"dequal": "^2.0.3"
|
556 |
+
}
|
557 |
+
},
|
558 |
+
"node_modules/axobject-query": {
|
559 |
+
"version": "3.2.1",
|
560 |
+
"resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-3.2.1.tgz",
|
561 |
+
"integrity": "sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==",
|
562 |
+
"peer": true,
|
563 |
+
"dependencies": {
|
564 |
+
"dequal": "^2.0.3"
|
565 |
+
}
|
566 |
+
},
|
567 |
+
"node_modules/bufferutil": {
|
568 |
+
"version": "4.0.8",
|
569 |
+
"resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.8.tgz",
|
570 |
+
"integrity": "sha512-4T53u4PdgsXqKaIctwF8ifXlRTTmEPJ8iEPWFdGZvcf7sbwYo6FKFEX9eNNAnzFZ7EzJAQ3CJeOtCRA4rDp7Pw==",
|
571 |
+
"hasInstallScript": true,
|
572 |
+
"dependencies": {
|
573 |
+
"node-gyp-build": "^4.3.0"
|
574 |
+
},
|
575 |
+
"engines": {
|
576 |
+
"node": ">=6.14.2"
|
577 |
+
}
|
578 |
+
},
|
579 |
+
"node_modules/cli-color": {
|
580 |
+
"version": "2.0.3",
|
581 |
+
"resolved": "https://registry.npmjs.org/cli-color/-/cli-color-2.0.3.tgz",
|
582 |
+
"integrity": "sha512-OkoZnxyC4ERN3zLzZaY9Emb7f/MhBOIpePv0Ycok0fJYT+Ouo00UBEIwsVsr0yoow++n5YWlSUgST9GKhNHiRQ==",
|
583 |
+
"dependencies": {
|
584 |
+
"d": "^1.0.1",
|
585 |
+
"es5-ext": "^0.10.61",
|
586 |
+
"es6-iterator": "^2.0.3",
|
587 |
+
"memoizee": "^0.4.15",
|
588 |
+
"timers-ext": "^0.1.7"
|
589 |
+
},
|
590 |
+
"engines": {
|
591 |
+
"node": ">=0.10"
|
592 |
+
}
|
593 |
+
},
|
594 |
+
"node_modules/code-red": {
|
595 |
+
"version": "1.0.4",
|
596 |
+
"resolved": "https://registry.npmjs.org/code-red/-/code-red-1.0.4.tgz",
|
597 |
+
"integrity": "sha512-7qJWqItLA8/VPVlKJlFXU+NBlo/qyfs39aJcuMT/2ere32ZqvF5OSxgdM5xOfJJ7O429gg2HM47y8v9P+9wrNw==",
|
598 |
+
"peer": true,
|
599 |
+
"dependencies": {
|
600 |
+
"@jridgewell/sourcemap-codec": "^1.4.15",
|
601 |
+
"@types/estree": "^1.0.1",
|
602 |
+
"acorn": "^8.10.0",
|
603 |
+
"estree-walker": "^3.0.3",
|
604 |
+
"periscopic": "^3.1.0"
|
605 |
+
}
|
606 |
+
},
|
607 |
+
"node_modules/css-tree": {
|
608 |
+
"version": "2.3.1",
|
609 |
+
"resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.3.1.tgz",
|
610 |
+
"integrity": "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw==",
|
611 |
+
"peer": true,
|
612 |
+
"dependencies": {
|
613 |
+
"mdn-data": "2.0.30",
|
614 |
+
"source-map-js": "^1.0.1"
|
615 |
+
},
|
616 |
+
"engines": {
|
617 |
+
"node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0"
|
618 |
+
}
|
619 |
+
},
|
620 |
+
"node_modules/d": {
|
621 |
+
"version": "1.0.1",
|
622 |
+
"resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",
|
623 |
+
"integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==",
|
624 |
+
"dependencies": {
|
625 |
+
"es5-ext": "^0.10.50",
|
626 |
+
"type": "^1.0.1"
|
627 |
+
}
|
628 |
+
},
|
629 |
+
"node_modules/deepmerge": {
|
630 |
+
"version": "4.3.1",
|
631 |
+
"resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
|
632 |
+
"integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
|
633 |
+
"engines": {
|
634 |
+
"node": ">=0.10.0"
|
635 |
+
}
|
636 |
+
},
|
637 |
+
"node_modules/dequal": {
|
638 |
+
"version": "2.0.3",
|
639 |
+
"resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",
|
640 |
+
"integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",
|
641 |
+
"peer": true,
|
642 |
+
"engines": {
|
643 |
+
"node": ">=6"
|
644 |
+
}
|
645 |
+
},
|
646 |
+
"node_modules/es5-ext": {
|
647 |
+
"version": "0.10.62",
|
648 |
+
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.62.tgz",
|
649 |
+
"integrity": "sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==",
|
650 |
+
"hasInstallScript": true,
|
651 |
+
"dependencies": {
|
652 |
+
"es6-iterator": "^2.0.3",
|
653 |
+
"es6-symbol": "^3.1.3",
|
654 |
+
"next-tick": "^1.1.0"
|
655 |
+
},
|
656 |
+
"engines": {
|
657 |
+
"node": ">=0.10"
|
658 |
+
}
|
659 |
+
},
|
660 |
+
"node_modules/es6-iterator": {
|
661 |
+
"version": "2.0.3",
|
662 |
+
"resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz",
|
663 |
+
"integrity": "sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==",
|
664 |
+
"dependencies": {
|
665 |
+
"d": "1",
|
666 |
+
"es5-ext": "^0.10.35",
|
667 |
+
"es6-symbol": "^3.1.1"
|
668 |
+
}
|
669 |
+
},
|
670 |
+
"node_modules/es6-symbol": {
|
671 |
+
"version": "3.1.3",
|
672 |
+
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",
|
673 |
+
"integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==",
|
674 |
+
"dependencies": {
|
675 |
+
"d": "^1.0.1",
|
676 |
+
"ext": "^1.1.2"
|
677 |
+
}
|
678 |
+
},
|
679 |
+
"node_modules/es6-weak-map": {
|
680 |
+
"version": "2.0.3",
|
681 |
+
"resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz",
|
682 |
+
"integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==",
|
683 |
+
"dependencies": {
|
684 |
+
"d": "1",
|
685 |
+
"es5-ext": "^0.10.46",
|
686 |
+
"es6-iterator": "^2.0.3",
|
687 |
+
"es6-symbol": "^3.1.1"
|
688 |
+
}
|
689 |
+
},
|
690 |
+
"node_modules/esbuild": {
|
691 |
+
"version": "0.19.5",
|
692 |
+
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.5.tgz",
|
693 |
+
"integrity": "sha512-bUxalY7b1g8vNhQKdB24QDmHeY4V4tw/s6Ak5z+jJX9laP5MoQseTOMemAr0gxssjNcH0MCViG8ONI2kksvfFQ==",
|
694 |
+
"hasInstallScript": true,
|
695 |
+
"bin": {
|
696 |
+
"esbuild": "bin/esbuild"
|
697 |
+
},
|
698 |
+
"engines": {
|
699 |
+
"node": ">=12"
|
700 |
+
},
|
701 |
+
"optionalDependencies": {
|
702 |
+
"@esbuild/android-arm": "0.19.5",
|
703 |
+
"@esbuild/android-arm64": "0.19.5",
|
704 |
+
"@esbuild/android-x64": "0.19.5",
|
705 |
+
"@esbuild/darwin-arm64": "0.19.5",
|
706 |
+
"@esbuild/darwin-x64": "0.19.5",
|
707 |
+
"@esbuild/freebsd-arm64": "0.19.5",
|
708 |
+
"@esbuild/freebsd-x64": "0.19.5",
|
709 |
+
"@esbuild/linux-arm": "0.19.5",
|
710 |
+
"@esbuild/linux-arm64": "0.19.5",
|
711 |
+
"@esbuild/linux-ia32": "0.19.5",
|
712 |
+
"@esbuild/linux-loong64": "0.19.5",
|
713 |
+
"@esbuild/linux-mips64el": "0.19.5",
|
714 |
+
"@esbuild/linux-ppc64": "0.19.5",
|
715 |
+
"@esbuild/linux-riscv64": "0.19.5",
|
716 |
+
"@esbuild/linux-s390x": "0.19.5",
|
717 |
+
"@esbuild/linux-x64": "0.19.5",
|
718 |
+
"@esbuild/netbsd-x64": "0.19.5",
|
719 |
+
"@esbuild/openbsd-x64": "0.19.5",
|
720 |
+
"@esbuild/sunos-x64": "0.19.5",
|
721 |
+
"@esbuild/win32-arm64": "0.19.5",
|
722 |
+
"@esbuild/win32-ia32": "0.19.5",
|
723 |
+
"@esbuild/win32-x64": "0.19.5"
|
724 |
+
}
|
725 |
+
},
|
726 |
+
"node_modules/estree-walker": {
|
727 |
+
"version": "3.0.3",
|
728 |
+
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.3.tgz",
|
729 |
+
"integrity": "sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==",
|
730 |
+
"peer": true,
|
731 |
+
"dependencies": {
|
732 |
+
"@types/estree": "^1.0.0"
|
733 |
+
}
|
734 |
+
},
|
735 |
+
"node_modules/event-emitter": {
|
736 |
+
"version": "0.3.5",
|
737 |
+
"resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz",
|
738 |
+
"integrity": "sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==",
|
739 |
+
"dependencies": {
|
740 |
+
"d": "1",
|
741 |
+
"es5-ext": "~0.10.14"
|
742 |
+
}
|
743 |
+
},
|
744 |
+
"node_modules/ext": {
|
745 |
+
"version": "1.7.0",
|
746 |
+
"resolved": "https://registry.npmjs.org/ext/-/ext-1.7.0.tgz",
|
747 |
+
"integrity": "sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==",
|
748 |
+
"dependencies": {
|
749 |
+
"type": "^2.7.2"
|
750 |
+
}
|
751 |
+
},
|
752 |
+
"node_modules/ext/node_modules/type": {
|
753 |
+
"version": "2.7.2",
|
754 |
+
"resolved": "https://registry.npmjs.org/type/-/type-2.7.2.tgz",
|
755 |
+
"integrity": "sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw=="
|
756 |
+
},
|
757 |
+
"node_modules/globalyzer": {
|
758 |
+
"version": "0.1.0",
|
759 |
+
"resolved": "https://registry.npmjs.org/globalyzer/-/globalyzer-0.1.0.tgz",
|
760 |
+
"integrity": "sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q=="
|
761 |
+
},
|
762 |
+
"node_modules/globrex": {
|
763 |
+
"version": "0.1.2",
|
764 |
+
"resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz",
|
765 |
+
"integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg=="
|
766 |
+
},
|
767 |
+
"node_modules/intl-messageformat": {
|
768 |
+
"version": "9.13.0",
|
769 |
+
"resolved": "https://registry.npmjs.org/intl-messageformat/-/intl-messageformat-9.13.0.tgz",
|
770 |
+
"integrity": "sha512-7sGC7QnSQGa5LZP7bXLDhVDtQOeKGeBFGHF2Y8LVBwYZoQZCgWeKoPGTa5GMG8g/TzDgeXuYJQis7Ggiw2xTOw==",
|
771 |
+
"dependencies": {
|
772 |
+
"@formatjs/ecma402-abstract": "1.11.4",
|
773 |
+
"@formatjs/fast-memoize": "1.2.1",
|
774 |
+
"@formatjs/icu-messageformat-parser": "2.1.0",
|
775 |
+
"tslib": "^2.1.0"
|
776 |
+
}
|
777 |
+
},
|
778 |
+
"node_modules/is-promise": {
|
779 |
+
"version": "2.2.2",
|
780 |
+
"resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.2.2.tgz",
|
781 |
+
"integrity": "sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ=="
|
782 |
+
},
|
783 |
+
"node_modules/is-reference": {
|
784 |
+
"version": "3.0.2",
|
785 |
+
"resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.2.tgz",
|
786 |
+
"integrity": "sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg==",
|
787 |
+
"peer": true,
|
788 |
+
"dependencies": {
|
789 |
+
"@types/estree": "*"
|
790 |
+
}
|
791 |
+
},
|
792 |
+
"node_modules/locate-character": {
|
793 |
+
"version": "3.0.0",
|
794 |
+
"resolved": "https://registry.npmjs.org/locate-character/-/locate-character-3.0.0.tgz",
|
795 |
+
"integrity": "sha512-SW13ws7BjaeJ6p7Q6CO2nchbYEc3X3J6WrmTTDto7yMPqVSZTUyY5Tjbid+Ab8gLnATtygYtiDIJGQRRn2ZOiA==",
|
796 |
+
"peer": true
|
797 |
+
},
|
798 |
+
"node_modules/lru-queue": {
|
799 |
+
"version": "0.1.0",
|
800 |
+
"resolved": "https://registry.npmjs.org/lru-queue/-/lru-queue-0.1.0.tgz",
|
801 |
+
"integrity": "sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==",
|
802 |
+
"dependencies": {
|
803 |
+
"es5-ext": "~0.10.2"
|
804 |
+
}
|
805 |
+
},
|
806 |
+
"node_modules/magic-string": {
|
807 |
+
"version": "0.30.5",
|
808 |
+
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.5.tgz",
|
809 |
+
"integrity": "sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==",
|
810 |
+
"peer": true,
|
811 |
+
"dependencies": {
|
812 |
+
"@jridgewell/sourcemap-codec": "^1.4.15"
|
813 |
+
},
|
814 |
+
"engines": {
|
815 |
+
"node": ">=12"
|
816 |
+
}
|
817 |
+
},
|
818 |
+
"node_modules/mdn-data": {
|
819 |
+
"version": "2.0.30",
|
820 |
+
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.30.tgz",
|
821 |
+
"integrity": "sha512-GaqWWShW4kv/G9IEucWScBx9G1/vsFZZJUO+tD26M8J8z3Kw5RDQjaoZe03YAClgeS/SWPOcb4nkFBTEi5DUEA==",
|
822 |
+
"peer": true
|
823 |
+
},
|
824 |
+
"node_modules/memoizee": {
|
825 |
+
"version": "0.4.15",
|
826 |
+
"resolved": "https://registry.npmjs.org/memoizee/-/memoizee-0.4.15.tgz",
|
827 |
+
"integrity": "sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==",
|
828 |
+
"dependencies": {
|
829 |
+
"d": "^1.0.1",
|
830 |
+
"es5-ext": "^0.10.53",
|
831 |
+
"es6-weak-map": "^2.0.3",
|
832 |
+
"event-emitter": "^0.3.5",
|
833 |
+
"is-promise": "^2.2.2",
|
834 |
+
"lru-queue": "^0.1.0",
|
835 |
+
"next-tick": "^1.1.0",
|
836 |
+
"timers-ext": "^0.1.7"
|
837 |
+
}
|
838 |
+
},
|
839 |
+
"node_modules/mri": {
|
840 |
+
"version": "1.2.0",
|
841 |
+
"resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz",
|
842 |
+
"integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==",
|
843 |
+
"engines": {
|
844 |
+
"node": ">=4"
|
845 |
+
}
|
846 |
+
},
|
847 |
+
"node_modules/next-tick": {
|
848 |
+
"version": "1.1.0",
|
849 |
+
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz",
|
850 |
+
"integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ=="
|
851 |
+
},
|
852 |
+
"node_modules/node-gyp-build": {
|
853 |
+
"version": "4.6.1",
|
854 |
+
"resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.1.tgz",
|
855 |
+
"integrity": "sha512-24vnklJmyRS8ViBNI8KbtK/r/DmXQMRiOMXTNz2nrTnAYUwjmEEbnnpB/+kt+yWRv73bPsSPRFddrcIbAxSiMQ==",
|
856 |
+
"bin": {
|
857 |
+
"node-gyp-build": "bin.js",
|
858 |
+
"node-gyp-build-optional": "optional.js",
|
859 |
+
"node-gyp-build-test": "build-test.js"
|
860 |
+
}
|
861 |
+
},
|
862 |
+
"node_modules/periscopic": {
|
863 |
+
"version": "3.1.0",
|
864 |
+
"resolved": "https://registry.npmjs.org/periscopic/-/periscopic-3.1.0.tgz",
|
865 |
+
"integrity": "sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==",
|
866 |
+
"peer": true,
|
867 |
+
"dependencies": {
|
868 |
+
"@types/estree": "^1.0.0",
|
869 |
+
"estree-walker": "^3.0.0",
|
870 |
+
"is-reference": "^3.0.0"
|
871 |
+
}
|
872 |
+
},
|
873 |
+
"node_modules/sade": {
|
874 |
+
"version": "1.8.1",
|
875 |
+
"resolved": "https://registry.npmjs.org/sade/-/sade-1.8.1.tgz",
|
876 |
+
"integrity": "sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==",
|
877 |
+
"dependencies": {
|
878 |
+
"mri": "^1.1.0"
|
879 |
+
},
|
880 |
+
"engines": {
|
881 |
+
"node": ">=6"
|
882 |
+
}
|
883 |
+
},
|
884 |
+
"node_modules/semiver": {
|
885 |
+
"version": "1.1.0",
|
886 |
+
"resolved": "https://registry.npmjs.org/semiver/-/semiver-1.1.0.tgz",
|
887 |
+
"integrity": "sha512-QNI2ChmuioGC1/xjyYwyZYADILWyW6AmS1UH6gDj/SFUUUS4MBAWs/7mxnkRPc/F4iHezDP+O8t0dO8WHiEOdg==",
|
888 |
+
"engines": {
|
889 |
+
"node": ">=6"
|
890 |
+
}
|
891 |
+
},
|
892 |
+
"node_modules/source-map-js": {
|
893 |
+
"version": "1.0.2",
|
894 |
+
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
|
895 |
+
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
|
896 |
+
"peer": true,
|
897 |
+
"engines": {
|
898 |
+
"node": ">=0.10.0"
|
899 |
+
}
|
900 |
+
},
|
901 |
+
"node_modules/svelte": {
|
902 |
+
"version": "4.2.2",
|
903 |
+
"resolved": "https://registry.npmjs.org/svelte/-/svelte-4.2.2.tgz",
|
904 |
+
"integrity": "sha512-My2tytF2e2NnHSpn2M7/3VdXT4JdTglYVUuSuK/mXL2XtulPYbeBfl8Dm1QiaKRn0zoULRnL+EtfZHHP0k4H3A==",
|
905 |
+
"peer": true,
|
906 |
+
"dependencies": {
|
907 |
+
"@ampproject/remapping": "^2.2.1",
|
908 |
+
"@jridgewell/sourcemap-codec": "^1.4.15",
|
909 |
+
"@jridgewell/trace-mapping": "^0.3.18",
|
910 |
+
"acorn": "^8.9.0",
|
911 |
+
"aria-query": "^5.3.0",
|
912 |
+
"axobject-query": "^3.2.1",
|
913 |
+
"code-red": "^1.0.3",
|
914 |
+
"css-tree": "^2.3.1",
|
915 |
+
"estree-walker": "^3.0.3",
|
916 |
+
"is-reference": "^3.0.1",
|
917 |
+
"locate-character": "^3.0.0",
|
918 |
+
"magic-string": "^0.30.4",
|
919 |
+
"periscopic": "^3.1.0"
|
920 |
+
},
|
921 |
+
"engines": {
|
922 |
+
"node": ">=16"
|
923 |
+
}
|
924 |
+
},
|
925 |
+
"node_modules/svelte-i18n": {
|
926 |
+
"version": "3.7.4",
|
927 |
+
"resolved": "https://registry.npmjs.org/svelte-i18n/-/svelte-i18n-3.7.4.tgz",
|
928 |
+
"integrity": "sha512-yGRCNo+eBT4cPuU7IVsYTYjxB7I2V8qgUZPlHnNctJj5IgbJgV78flsRzpjZ/8iUYZrS49oCt7uxlU3AZv/N5Q==",
|
929 |
+
"dependencies": {
|
930 |
+
"cli-color": "^2.0.3",
|
931 |
+
"deepmerge": "^4.2.2",
|
932 |
+
"esbuild": "^0.19.2",
|
933 |
+
"estree-walker": "^2",
|
934 |
+
"intl-messageformat": "^9.13.0",
|
935 |
+
"sade": "^1.8.1",
|
936 |
+
"tiny-glob": "^0.2.9"
|
937 |
+
},
|
938 |
+
"bin": {
|
939 |
+
"svelte-i18n": "dist/cli.js"
|
940 |
+
},
|
941 |
+
"engines": {
|
942 |
+
"node": ">= 16"
|
943 |
+
},
|
944 |
+
"peerDependencies": {
|
945 |
+
"svelte": "^3 || ^4"
|
946 |
+
}
|
947 |
+
},
|
948 |
+
"node_modules/svelte-i18n/node_modules/estree-walker": {
|
949 |
+
"version": "2.0.2",
|
950 |
+
"resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
|
951 |
+
"integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="
|
952 |
+
},
|
953 |
+
"node_modules/timers-ext": {
|
954 |
+
"version": "0.1.7",
|
955 |
+
"resolved": "https://registry.npmjs.org/timers-ext/-/timers-ext-0.1.7.tgz",
|
956 |
+
"integrity": "sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ==",
|
957 |
+
"dependencies": {
|
958 |
+
"es5-ext": "~0.10.46",
|
959 |
+
"next-tick": "1"
|
960 |
+
}
|
961 |
+
},
|
962 |
+
"node_modules/tiny-glob": {
|
963 |
+
"version": "0.2.9",
|
964 |
+
"resolved": "https://registry.npmjs.org/tiny-glob/-/tiny-glob-0.2.9.tgz",
|
965 |
+
"integrity": "sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==",
|
966 |
+
"dependencies": {
|
967 |
+
"globalyzer": "0.1.0",
|
968 |
+
"globrex": "^0.1.2"
|
969 |
+
}
|
970 |
+
},
|
971 |
+
"node_modules/tslib": {
|
972 |
+
"version": "2.6.2",
|
973 |
+
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
|
974 |
+
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
|
975 |
+
},
|
976 |
+
"node_modules/type": {
|
977 |
+
"version": "1.2.0",
|
978 |
+
"resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",
|
979 |
+
"integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg=="
|
980 |
+
},
|
981 |
+
"node_modules/ws": {
|
982 |
+
"version": "8.14.2",
|
983 |
+
"resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz",
|
984 |
+
"integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==",
|
985 |
+
"engines": {
|
986 |
+
"node": ">=10.0.0"
|
987 |
+
},
|
988 |
+
"peerDependencies": {
|
989 |
+
"bufferutil": "^4.0.1",
|
990 |
+
"utf-8-validate": ">=5.0.2"
|
991 |
+
},
|
992 |
+
"peerDependenciesMeta": {
|
993 |
+
"bufferutil": {
|
994 |
+
"optional": true
|
995 |
+
},
|
996 |
+
"utf-8-validate": {
|
997 |
+
"optional": true
|
998 |
+
}
|
999 |
+
}
|
1000 |
+
}
|
1001 |
+
}
|
1002 |
+
}
|
src/package.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "gradio_folium",
|
3 |
+
"version": "0.2.0-beta.6",
|
4 |
+
"description": "Gradio UI packages",
|
5 |
+
"type": "module",
|
6 |
+
"author": "",
|
7 |
+
"license": "ISC",
|
8 |
+
"private": false,
|
9 |
+
"main_changeset": true,
|
10 |
+
"exports": {
|
11 |
+
".": "./Index.svelte",
|
12 |
+
"./example": "./Example.svelte",
|
13 |
+
"./package.json": "./package.json"
|
14 |
+
},
|
15 |
+
"dependencies": {
|
16 |
+
"@gradio/atoms": "0.2.0-beta.4",
|
17 |
+
"@gradio/statustracker": "0.3.0-beta.6",
|
18 |
+
"@gradio/utils": "0.2.0-beta.4",
|
19 |
+
"@gradio/upload": "0.3.0-beta.4",
|
20 |
+
"@zerodevx/svelte-json-view": "^1.0.7"
|
21 |
+
}
|
22 |
+
}
|
src/pyproject.toml
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[build-system]
|
2 |
+
requires = [
|
3 |
+
"hatchling",
|
4 |
+
"hatch-requirements-txt",
|
5 |
+
"hatch-fancy-pypi-readme>=22.5.0",
|
6 |
+
]
|
7 |
+
build-backend = "hatchling.build"
|
8 |
+
|
9 |
+
[project]
|
10 |
+
name = "gradio_folium"
|
11 |
+
version = "0.0.1"
|
12 |
+
description = "Python library for easily interacting with trained machine learning models"
|
13 |
+
license = "Apache-2.0"
|
14 |
+
requires-python = ">=3.8"
|
15 |
+
authors = [{ name = "YOUR NAME", email = "[email protected]" }]
|
16 |
+
keywords = [
|
17 |
+
"machine learning",
|
18 |
+
"reproducibility",
|
19 |
+
"visualization",
|
20 |
+
"gradio",
|
21 |
+
"gradio custom component",
|
22 |
+
]
|
23 |
+
# Add dependencies here
|
24 |
+
dependencies = ["gradio", "folium"]
|
25 |
+
classifiers = [
|
26 |
+
'Development Status :: 3 - Alpha',
|
27 |
+
'License :: OSI Approved :: Apache Software License',
|
28 |
+
'Operating System :: OS Independent',
|
29 |
+
'Programming Language :: Python :: 3',
|
30 |
+
'Programming Language :: Python :: 3 :: Only',
|
31 |
+
'Programming Language :: Python :: 3.8',
|
32 |
+
'Programming Language :: Python :: 3.9',
|
33 |
+
'Programming Language :: Python :: 3.10',
|
34 |
+
'Programming Language :: Python :: 3.11',
|
35 |
+
'Topic :: Scientific/Engineering',
|
36 |
+
'Topic :: Scientific/Engineering :: Artificial Intelligence',
|
37 |
+
'Topic :: Scientific/Engineering :: Visualization',
|
38 |
+
]
|
39 |
+
|
40 |
+
[project.optional-dependencies]
|
41 |
+
dev = ["build", "twine"]
|
42 |
+
|
43 |
+
[tool.hatch.build]
|
44 |
+
artifacts = ["/backend/gradio_folium/templates", "*.pyi", "backend/gradio_folium/templates", "backend/gradio_folium/templates", "backend/gradio_folium/templates", "backend/gradio_folium/templates", "backend/gradio_folium/templates", "backend/gradio_folium/templates"]
|
45 |
+
|
46 |
+
[tool.hatch.build.targets.wheel]
|
47 |
+
packages = ["/backend/gradio_folium"]
|