Spaces:
Running
Running
admin
commited on
Commit
·
df4533a
1
Parent(s):
b849630
sync ms
Browse files- .gitignore +3 -3
- app.py +11 -0
.gitignore
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
-
__pycache__/*
|
3 |
*.pth
|
4 |
-
*.json
|
|
|
|
1 |
+
*__pycache__*
|
|
|
2 |
*.pth
|
3 |
+
*.json
|
4 |
+
test.*
|
app.py
CHANGED
@@ -253,6 +253,17 @@ if __name__ == "__main__":
|
|
253 |
],
|
254 |
flagging_mode="never",
|
255 |
concurrency_limit=4,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
256 |
)
|
257 |
|
258 |
with gr.Tab(_L("上传模式")):
|
|
|
253 |
],
|
254 |
flagging_mode="never",
|
255 |
concurrency_limit=4,
|
256 |
+
examples=[
|
257 |
+
[
|
258 |
+
"就算我们不抬头仰望,星空,也永远注视着我们。",
|
259 |
+
"莱依拉",
|
260 |
+
0.2,
|
261 |
+
0.6,
|
262 |
+
0.8,
|
263 |
+
1,
|
264 |
+
]
|
265 |
+
],
|
266 |
+
cache_examples=True,
|
267 |
)
|
268 |
|
269 |
with gr.Tab(_L("上传模式")):
|