Spaces:
Runtime error
Runtime error
sander-wood
commited on
Commit
•
2d608eb
1
Parent(s):
b3bc81c
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def generate_abc(text, num_tunes, max_length, top_p, temperature, seed):
|
|
42 |
except:
|
43 |
seed = None
|
44 |
|
45 |
-
print("Input Text
|
46 |
text = unidecode(text)
|
47 |
tokenizer = AutoTokenizer.from_pretrained('sander-wood/text-to-music')
|
48 |
model = AutoModelForSeq2SeqLM.from_pretrained('sander-wood/text-to-music')
|
|
|
42 |
except:
|
43 |
seed = None
|
44 |
|
45 |
+
print("Input Text:\n" + text)
|
46 |
text = unidecode(text)
|
47 |
tokenizer = AutoTokenizer.from_pretrained('sander-wood/text-to-music')
|
48 |
model = AutoModelForSeq2SeqLM.from_pretrained('sander-wood/text-to-music')
|