Spaces:
Running
Running
Vincentqyw
commited on
Commit
•
7e8852b
1
Parent(s):
bb9e1e1
update: webcam
Browse files- app.py +1 -1
- pre-requirements.txt +2 -2
app.py
CHANGED
@@ -40,7 +40,7 @@ def ui_change_imagebox(choice):
|
|
40 |
"""
|
41 |
return {
|
42 |
"value": None, # The updated value of the image box
|
43 |
-
"
|
44 |
"__type__": "update", # The type of update for the image box
|
45 |
}
|
46 |
|
|
|
40 |
"""
|
41 |
return {
|
42 |
"value": None, # The updated value of the image box
|
43 |
+
"source": choice, # The list of image sources to be displayed
|
44 |
"__type__": "update", # The type of update for the image box
|
45 |
}
|
46 |
|
pre-requirements.txt
CHANGED
@@ -6,5 +6,5 @@ pytorch-lightning>=1.4.2
|
|
6 |
omegaconf>=2.1.1
|
7 |
einops>=0.3.0
|
8 |
kornia>=0.6
|
9 |
-
gradio
|
10 |
-
gradio_client==0.
|
|
|
6 |
omegaconf>=2.1.1
|
7 |
einops>=0.3.0
|
8 |
kornia>=0.6
|
9 |
+
gradio==3.50.2
|
10 |
+
gradio_client==0.6.1
|