modified: app.py
Browse files
app.py
CHANGED
@@ -116,7 +116,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
116 |
model.to(device)
|
117 |
model.eval()
|
118 |
|
119 |
-
@spaces.GPU(duration=
|
120 |
def infer(genre_txt_content, lyrics_txt_content, num_segments=2, max_new_tokens=200):
|
121 |
|
122 |
# Ensure the output folder exists
|
|
|
116 |
model.to(device)
|
117 |
model.eval()
|
118 |
|
119 |
+
@spaces.GPU(duration=120)
|
120 |
def infer(genre_txt_content, lyrics_txt_content, num_segments=2, max_new_tokens=200):
|
121 |
|
122 |
# Ensure the output folder exists
|