Spaces:
Running
Running
Commit
·
46a874d
1
Parent(s):
2ff190a
Minor
Browse files
app.py
CHANGED
@@ -258,6 +258,7 @@ def generate_component(generate_function, text, motion_len='0', postprocess='IK'
|
|
258 |
if text == DEFAULT_TEXT or text == "" or text is None:
|
259 |
return [None for _ in range(1)]
|
260 |
# uid = random.randrange(99999)
|
|
|
261 |
try:
|
262 |
motion_len = max(0, min(int(float(motion_len) * 20), 196))
|
263 |
except:
|
|
|
258 |
if text == DEFAULT_TEXT or text == "" or text is None:
|
259 |
return [None for _ in range(1)]
|
260 |
# uid = random.randrange(99999)
|
261 |
+
motion_len = max(0, min(int(float(motion_len) * 20), 196))
|
262 |
try:
|
263 |
motion_len = max(0, min(int(float(motion_len) * 20), 196))
|
264 |
except:
|