Spaces:
Runtime error
Runtime error
Commit
·
55db734
1
Parent(s):
57a7472
Update app.py
Browse files
app.py
CHANGED
@@ -8,11 +8,11 @@ st.subheader("Gerador Canções de musica brasileira (2)")
|
|
8 |
|
9 |
sess = gpt2.start_tf_sess()
|
10 |
|
11 |
-
gpt2.load_gpt2(sess, model_name='br_music1
|
12 |
|
13 |
def gera_texto(start, temperature, max_new_tokens, num_samples):
|
14 |
result = gpt2.generate(sess,
|
15 |
-
model_name='br_music1
|
16 |
prefix=start,
|
17 |
length=max_new_tokens,
|
18 |
temperature=temperature,
|
|
|
8 |
|
9 |
sess = gpt2.start_tf_sess()
|
10 |
|
11 |
+
gpt2.load_gpt2(sess, model_name='br_music1/')
|
12 |
|
13 |
def gera_texto(start, temperature, max_new_tokens, num_samples):
|
14 |
result = gpt2.generate(sess,
|
15 |
+
model_name='br_music1/',
|
16 |
prefix=start,
|
17 |
length=max_new_tokens,
|
18 |
temperature=temperature,
|