Spaces:
Sleeping
Sleeping
sergipastor
commited on
Commit
·
9aafbba
1
Parent(s):
897ad34
path fix 2
Browse files
app.py
CHANGED
|
@@ -14,8 +14,8 @@ def generate(arousal: float, valence: float):
|
|
| 14 |
resultado = subprocess.run(
|
| 15 |
[
|
| 16 |
'python',
|
| 17 |
-
'
|
| 18 |
-
'--model_dir', '
|
| 19 |
'--conditioning', 'discrete_token',
|
| 20 |
'--valence', str(valence),
|
| 21 |
'--arousal', str(arousal),
|
|
|
|
| 14 |
resultado = subprocess.run(
|
| 15 |
[
|
| 16 |
'python',
|
| 17 |
+
'midi-emotion/src/generate.py',
|
| 18 |
+
'--model_dir', 'models/discrete_token',
|
| 19 |
'--conditioning', 'discrete_token',
|
| 20 |
'--valence', str(valence),
|
| 21 |
'--arousal', str(arousal),
|