Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,8 @@ finetune = "davinci:ft-personal:autodrummer-v5-2022-11-04-22-34-07"
|
|
12 |
|
13 |
with open('description.txt', 'r') as f:
|
14 |
description = f.read()
|
|
|
|
|
15 |
|
16 |
def get_note_text(prompt):
|
17 |
prompt = prompt + " ->"
|
@@ -64,5 +66,6 @@ iface = gr.Interface(
|
|
64 |
outputs="audio",
|
65 |
title='Autodrummer',
|
66 |
description=description,
|
|
|
67 |
)
|
68 |
iface.launch()
|
|
|
12 |
|
13 |
with open('description.txt', 'r') as f:
|
14 |
description = f.read()
|
15 |
+
with open('article.txt', 'r') as f:
|
16 |
+
article = f.read()
|
17 |
|
18 |
def get_note_text(prompt):
|
19 |
prompt = prompt + " ->"
|
|
|
66 |
outputs="audio",
|
67 |
title='Autodrummer',
|
68 |
description=description,
|
69 |
+
article=article,
|
70 |
)
|
71 |
iface.launch()
|