Spaces:
Runtime error
Runtime error
ShoufaChen
commited on
Commit
•
4c7cbf3
1
Parent(s):
7bf1803
minor
Browse files- app.py +1 -1
- imagenet_en_cn.py +1 -1
app.py
CHANGED
@@ -125,7 +125,7 @@ with gr.Blocks() as demo:
|
|
125 |
with gr.Row():
|
126 |
i1k_class = gr.Dropdown(
|
127 |
list(IMAGENET_1K_CLASSES.values()),
|
128 |
-
value='
|
129 |
type="index", label='ImageNet-1K Class'
|
130 |
)
|
131 |
cfg_scale = gr.Slider(minimum=1, maximum=25, step=0.1, value=4.0, label='Classifier-free Guidance Scale')
|
|
|
125 |
with gr.Row():
|
126 |
i1k_class = gr.Dropdown(
|
127 |
list(IMAGENET_1K_CLASSES.values()),
|
128 |
+
value='llama [羊驼]',
|
129 |
type="index", label='ImageNet-1K Class'
|
130 |
)
|
131 |
cfg_scale = gr.Slider(minimum=1, maximum=25, step=0.1, value=4.0, label='Classifier-free Guidance Scale')
|
imagenet_en_cn.py
CHANGED
@@ -354,7 +354,7 @@ IMAGENET_1K_CLASSES = {
|
|
354 |
352: 'impala, Aepyceros melampus [黑斑羚]',
|
355 |
353: 'gazelle [瞪羚]',
|
356 |
354: 'Arabian camel, dromedary, Camelus dromedarius [阿拉伯单峰骆驼,骆驼]',
|
357 |
-
355: 'llama [
|
358 |
356: 'weasel [黄鼠狼]',
|
359 |
357: 'mink [水貂]',
|
360 |
358: 'polecat, fitch, foulmart, foumart, Mustela putorius [臭猫]',
|
|
|
354 |
352: 'impala, Aepyceros melampus [黑斑羚]',
|
355 |
353: 'gazelle [瞪羚]',
|
356 |
354: 'Arabian camel, dromedary, Camelus dromedarius [阿拉伯单峰骆驼,骆驼]',
|
357 |
+
355: 'llama [羊驼]',
|
358 |
356: 'weasel [黄鼠狼]',
|
359 |
357: 'mink [水貂]',
|
360 |
358: 'polecat, fitch, foulmart, foumart, Mustela putorius [臭猫]',
|