Update barks.py
Browse files
barks.py
CHANGED
|
@@ -426,6 +426,10 @@ def generate_music(instrumental_prompt: str, vocal_prompt: str, cfg_scale: float
|
|
| 426 |
finally:
|
| 427 |
memory_cleanup()
|
| 428 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 429 |
# 8) CUSTOM CSS
|
| 430 |
css = """
|
| 431 |
body {
|
|
|
|
| 426 |
finally:
|
| 427 |
memory_cleanup()
|
| 428 |
|
| 429 |
+
# Function to clear inputs
|
| 430 |
+
def clear_inputs():
|
| 431 |
+
return "", "", 3.0, 250, 0.9, 1.0, 30, 5, 1000, 120, "none", "none", "none", "none", "none"
|
| 432 |
+
|
| 433 |
# 8) CUSTOM CSS
|
| 434 |
css = """
|
| 435 |
body {
|