Spaces:
Running
on
Zero
Running
on
Zero
gradio==5.0.1
Browse files- README.md +1 -1
- app.py +1 -1
- requirements.txt +8 -31
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 😻
|
|
4 |
colorFrom: indigo
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
7 |
-
sdk_version:
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
short_description: Chatbot
|
|
|
4 |
colorFrom: indigo
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 5.0.1
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
short_description: Chatbot
|
app.py
CHANGED
@@ -125,7 +125,7 @@ chat_interface = gr.ChatInterface(
|
|
125 |
type="messages",
|
126 |
)
|
127 |
|
128 |
-
with gr.Blocks(
|
129 |
gr.Markdown(DESCRIPTION)
|
130 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
|
131 |
chat_interface.render()
|
|
|
125 |
type="messages",
|
126 |
)
|
127 |
|
128 |
+
with gr.Blocks(css_paths="style.css", fill_height=True) as demo:
|
129 |
gr.Markdown(DESCRIPTION)
|
130 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button")
|
131 |
chat_interface.render()
|
requirements.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
# This file was autogenerated by uv via the following command:
|
2 |
# uv pip compile pyproject.toml -o requirements.txt
|
3 |
-
accelerate==0.
|
4 |
# via gemma-2-2b-it (pyproject.toml)
|
5 |
aiofiles==23.2.1
|
6 |
# via gradio
|
@@ -22,10 +22,6 @@ click==8.1.7
|
|
22 |
# via
|
23 |
# typer
|
24 |
# uvicorn
|
25 |
-
contourpy==1.3.0
|
26 |
-
# via matplotlib
|
27 |
-
cycler==0.12.1
|
28 |
-
# via matplotlib
|
29 |
exceptiongroup==1.2.2
|
30 |
# via anyio
|
31 |
fastapi==0.115.0
|
@@ -38,18 +34,16 @@ filelock==3.16.1
|
|
38 |
# torch
|
39 |
# transformers
|
40 |
# triton
|
41 |
-
fonttools==4.54.1
|
42 |
-
# via matplotlib
|
43 |
fsspec==2024.9.0
|
44 |
# via
|
45 |
# gradio-client
|
46 |
# huggingface-hub
|
47 |
# torch
|
48 |
-
gradio==
|
49 |
# via
|
50 |
# gemma-2-2b-it (pyproject.toml)
|
51 |
# spaces
|
52 |
-
gradio-client==1.
|
53 |
# via gradio
|
54 |
h11==0.14.0
|
55 |
# via
|
@@ -76,22 +70,16 @@ idna==3.10
|
|
76 |
# anyio
|
77 |
# httpx
|
78 |
# requests
|
79 |
-
importlib-resources==6.4.5
|
80 |
-
# via gradio
|
81 |
jinja2==3.1.4
|
82 |
# via
|
83 |
# gradio
|
84 |
# torch
|
85 |
-
kiwisolver==1.4.7
|
86 |
-
# via matplotlib
|
87 |
markdown-it-py==3.0.0
|
88 |
# via rich
|
89 |
markupsafe==2.1.5
|
90 |
# via
|
91 |
# gradio
|
92 |
# jinja2
|
93 |
-
matplotlib==3.9.2
|
94 |
-
# via gradio
|
95 |
mdurl==0.1.2
|
96 |
# via markdown-it-py
|
97 |
mpmath==1.3.0
|
@@ -101,9 +89,7 @@ networkx==3.3
|
|
101 |
numpy==2.1.1
|
102 |
# via
|
103 |
# accelerate
|
104 |
-
# contourpy
|
105 |
# gradio
|
106 |
-
# matplotlib
|
107 |
# pandas
|
108 |
# transformers
|
109 |
nvidia-cublas-cu12==12.1.3.1
|
@@ -145,15 +131,12 @@ packaging==24.1
|
|
145 |
# gradio
|
146 |
# gradio-client
|
147 |
# huggingface-hub
|
148 |
-
# matplotlib
|
149 |
# spaces
|
150 |
# transformers
|
151 |
pandas==2.2.3
|
152 |
# via gradio
|
153 |
pillow==10.4.0
|
154 |
-
# via
|
155 |
-
# gradio
|
156 |
-
# matplotlib
|
157 |
psutil==5.9.8
|
158 |
# via
|
159 |
# accelerate
|
@@ -169,12 +152,8 @@ pydub==0.25.1
|
|
169 |
# via gradio
|
170 |
pygments==2.18.0
|
171 |
# via rich
|
172 |
-
pyparsing==3.1.4
|
173 |
-
# via matplotlib
|
174 |
python-dateutil==2.9.0.post0
|
175 |
-
# via
|
176 |
-
# matplotlib
|
177 |
-
# pandas
|
178 |
python-multipart==0.0.12
|
179 |
# via gradio
|
180 |
pytz==2024.2
|
@@ -210,7 +189,7 @@ sniffio==1.3.1
|
|
210 |
# via
|
211 |
# anyio
|
212 |
# httpx
|
213 |
-
spaces==0.30.
|
214 |
# via gemma-2-2b-it (pyproject.toml)
|
215 |
starlette==0.38.6
|
216 |
# via fastapi
|
@@ -228,7 +207,7 @@ tqdm==4.66.5
|
|
228 |
# via
|
229 |
# huggingface-hub
|
230 |
# transformers
|
231 |
-
transformers==4.45.
|
232 |
# via gemma-2-2b-it (pyproject.toml)
|
233 |
triton==3.0.0
|
234 |
# via torch
|
@@ -250,9 +229,7 @@ typing-extensions==4.12.2
|
|
250 |
tzdata==2024.2
|
251 |
# via pandas
|
252 |
urllib3==2.2.3
|
253 |
-
# via
|
254 |
-
# gradio
|
255 |
-
# requests
|
256 |
uvicorn==0.31.0
|
257 |
# via gradio
|
258 |
websockets==12.0
|
|
|
1 |
# This file was autogenerated by uv via the following command:
|
2 |
# uv pip compile pyproject.toml -o requirements.txt
|
3 |
+
accelerate==1.0.0
|
4 |
# via gemma-2-2b-it (pyproject.toml)
|
5 |
aiofiles==23.2.1
|
6 |
# via gradio
|
|
|
22 |
# via
|
23 |
# typer
|
24 |
# uvicorn
|
|
|
|
|
|
|
|
|
25 |
exceptiongroup==1.2.2
|
26 |
# via anyio
|
27 |
fastapi==0.115.0
|
|
|
34 |
# torch
|
35 |
# transformers
|
36 |
# triton
|
|
|
|
|
37 |
fsspec==2024.9.0
|
38 |
# via
|
39 |
# gradio-client
|
40 |
# huggingface-hub
|
41 |
# torch
|
42 |
+
gradio==5.0.1
|
43 |
# via
|
44 |
# gemma-2-2b-it (pyproject.toml)
|
45 |
# spaces
|
46 |
+
gradio-client==1.4.0
|
47 |
# via gradio
|
48 |
h11==0.14.0
|
49 |
# via
|
|
|
70 |
# anyio
|
71 |
# httpx
|
72 |
# requests
|
|
|
|
|
73 |
jinja2==3.1.4
|
74 |
# via
|
75 |
# gradio
|
76 |
# torch
|
|
|
|
|
77 |
markdown-it-py==3.0.0
|
78 |
# via rich
|
79 |
markupsafe==2.1.5
|
80 |
# via
|
81 |
# gradio
|
82 |
# jinja2
|
|
|
|
|
83 |
mdurl==0.1.2
|
84 |
# via markdown-it-py
|
85 |
mpmath==1.3.0
|
|
|
89 |
numpy==2.1.1
|
90 |
# via
|
91 |
# accelerate
|
|
|
92 |
# gradio
|
|
|
93 |
# pandas
|
94 |
# transformers
|
95 |
nvidia-cublas-cu12==12.1.3.1
|
|
|
131 |
# gradio
|
132 |
# gradio-client
|
133 |
# huggingface-hub
|
|
|
134 |
# spaces
|
135 |
# transformers
|
136 |
pandas==2.2.3
|
137 |
# via gradio
|
138 |
pillow==10.4.0
|
139 |
+
# via gradio
|
|
|
|
|
140 |
psutil==5.9.8
|
141 |
# via
|
142 |
# accelerate
|
|
|
152 |
# via gradio
|
153 |
pygments==2.18.0
|
154 |
# via rich
|
|
|
|
|
155 |
python-dateutil==2.9.0.post0
|
156 |
+
# via pandas
|
|
|
|
|
157 |
python-multipart==0.0.12
|
158 |
# via gradio
|
159 |
pytz==2024.2
|
|
|
189 |
# via
|
190 |
# anyio
|
191 |
# httpx
|
192 |
+
spaces==0.30.3
|
193 |
# via gemma-2-2b-it (pyproject.toml)
|
194 |
starlette==0.38.6
|
195 |
# via fastapi
|
|
|
207 |
# via
|
208 |
# huggingface-hub
|
209 |
# transformers
|
210 |
+
transformers==4.45.2
|
211 |
# via gemma-2-2b-it (pyproject.toml)
|
212 |
triton==3.0.0
|
213 |
# via torch
|
|
|
229 |
tzdata==2024.2
|
230 |
# via pandas
|
231 |
urllib3==2.2.3
|
232 |
+
# via requests
|
|
|
|
|
233 |
uvicorn==0.31.0
|
234 |
# via gradio
|
235 |
websockets==12.0
|