Spaces:
Runtime error
Runtime error
yaoshining
commited on
Commit
•
60dcfd8
1
Parent(s):
8bf6161
Add webui
Browse files- modules/ui.py +1 -1
- requirements.txt +2 -2
modules/ui.py
CHANGED
@@ -66,7 +66,7 @@ def apply_interface_values(state, use_persistent=False):
|
|
66 |
return [state[k] if k in state else gr.update() for k in elements]
|
67 |
|
68 |
|
69 |
-
class ToolButton(gr.Button, gr.components.
|
70 |
"""Small button with single emoji as text, fits inside gradio forms"""
|
71 |
|
72 |
def __init__(self, **kwargs):
|
|
|
66 |
return [state[k] if k in state else gr.update() for k in elements]
|
67 |
|
68 |
|
69 |
+
class ToolButton(gr.Button, gr.components.IOComponent):
|
70 |
"""Small button with single emoji as text, fits inside gradio forms"""
|
71 |
|
72 |
def __init__(self, **kwargs):
|
requirements.txt
CHANGED
@@ -3,8 +3,8 @@ colorama
|
|
3 |
datasets~=2.13.1
|
4 |
einops
|
5 |
flexgen==0.1.7
|
6 |
-
gradio_client==0.2.
|
7 |
-
gradio==3.
|
8 |
markdown~=3.4.3
|
9 |
numpy~=1.25.0
|
10 |
pandas~=2.0.3
|
|
|
3 |
datasets~=2.13.1
|
4 |
einops
|
5 |
flexgen==0.1.7
|
6 |
+
gradio_client==0.2.7
|
7 |
+
gradio==3.35.2
|
8 |
markdown~=3.4.3
|
9 |
numpy~=1.25.0
|
10 |
pandas~=2.0.3
|