Spaces:
Running
Running
Commit
·
ee66a96
1
Parent(s):
4283f40
refactor
Browse files- app.py +0 -4
- requirements.in +0 -1
- requirements.txt +8 -2
app.py
CHANGED
@@ -8,16 +8,12 @@ import gradio as gr
|
|
8 |
import pandas as pd
|
9 |
import polars as pl
|
10 |
from cachetools import TTLCache, cached
|
11 |
-
from cashews import cache
|
12 |
from datasets import Dataset
|
13 |
from dotenv import load_dotenv
|
14 |
from httpx import AsyncClient, Client
|
15 |
from huggingface_hub import DatasetCard, hf_hub_url, list_datasets
|
16 |
from tqdm.auto import tqdm
|
17 |
|
18 |
-
|
19 |
-
cache.setup("mem://")
|
20 |
-
|
21 |
load_dotenv()
|
22 |
|
23 |
LIMIT = 15_000
|
|
|
8 |
import pandas as pd
|
9 |
import polars as pl
|
10 |
from cachetools import TTLCache, cached
|
|
|
11 |
from datasets import Dataset
|
12 |
from dotenv import load_dotenv
|
13 |
from httpx import AsyncClient, Client
|
14 |
from huggingface_hub import DatasetCard, hf_hub_url, list_datasets
|
15 |
from tqdm.auto import tqdm
|
16 |
|
|
|
|
|
|
|
17 |
load_dotenv()
|
18 |
|
19 |
LIMIT = 15_000
|
requirements.in
CHANGED
@@ -5,6 +5,5 @@ diskcache
|
|
5 |
gradio==5.14.0
|
6 |
httpx[http2]
|
7 |
huggingface_hub
|
8 |
-
pandas
|
9 |
python-dotenv
|
10 |
polars
|
|
|
5 |
gradio==5.14.0
|
6 |
httpx[http2]
|
7 |
huggingface_hub
|
|
|
8 |
python-dotenv
|
9 |
polars
|
requirements.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# This file was autogenerated by uv via the following command:
|
2 |
-
# uv pip compile requirements.in -o requirements.txt
|
3 |
aiofiles==23.2.1
|
4 |
# via gradio
|
5 |
aiohappyeyeballs==2.6.1
|
@@ -17,6 +17,8 @@ anyio==4.8.0
|
|
17 |
# gradio
|
18 |
# httpx
|
19 |
# starlette
|
|
|
|
|
20 |
attrs==25.2.0
|
21 |
# via aiohttp
|
22 |
cachetools==5.5.2
|
@@ -40,6 +42,8 @@ dill==0.3.8
|
|
40 |
# multiprocess
|
41 |
diskcache==5.6.3
|
42 |
# via -r requirements.in
|
|
|
|
|
43 |
fastapi==0.115.11
|
44 |
# via gradio
|
45 |
ffmpy==0.5.0
|
@@ -122,7 +126,6 @@ packaging==24.2
|
|
122 |
# huggingface-hub
|
123 |
pandas==2.2.3
|
124 |
# via
|
125 |
-
# -r requirements.in
|
126 |
# datasets
|
127 |
# gradio
|
128 |
pillow==11.1.0
|
@@ -195,9 +198,12 @@ typing-extensions==4.12.2
|
|
195 |
# gradio
|
196 |
# gradio-client
|
197 |
# huggingface-hub
|
|
|
198 |
# pydantic
|
199 |
# pydantic-core
|
|
|
200 |
# typer
|
|
|
201 |
tzdata==2025.1
|
202 |
# via pandas
|
203 |
urllib3==2.3.0
|
|
|
1 |
# This file was autogenerated by uv via the following command:
|
2 |
+
# uv pip compile --python-platform linux --python-version 3.10 requirements.in -o requirements.txt
|
3 |
aiofiles==23.2.1
|
4 |
# via gradio
|
5 |
aiohappyeyeballs==2.6.1
|
|
|
17 |
# gradio
|
18 |
# httpx
|
19 |
# starlette
|
20 |
+
async-timeout==5.0.1
|
21 |
+
# via aiohttp
|
22 |
attrs==25.2.0
|
23 |
# via aiohttp
|
24 |
cachetools==5.5.2
|
|
|
42 |
# multiprocess
|
43 |
diskcache==5.6.3
|
44 |
# via -r requirements.in
|
45 |
+
exceptiongroup==1.2.2
|
46 |
+
# via anyio
|
47 |
fastapi==0.115.11
|
48 |
# via gradio
|
49 |
ffmpy==0.5.0
|
|
|
126 |
# huggingface-hub
|
127 |
pandas==2.2.3
|
128 |
# via
|
|
|
129 |
# datasets
|
130 |
# gradio
|
131 |
pillow==11.1.0
|
|
|
198 |
# gradio
|
199 |
# gradio-client
|
200 |
# huggingface-hub
|
201 |
+
# multidict
|
202 |
# pydantic
|
203 |
# pydantic-core
|
204 |
+
# rich
|
205 |
# typer
|
206 |
+
# uvicorn
|
207 |
tzdata==2025.1
|
208 |
# via pandas
|
209 |
urllib3==2.3.0
|