Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ async def text_to_speech(text: str) -> str:
|
|
35 |
await communicate.save(tmp_path)
|
36 |
return tmp_path
|
37 |
|
38 |
-
@
|
39 |
def generate(
|
40 |
message: str,
|
41 |
chat_history: list[dict],
|
|
|
35 |
await communicate.save(tmp_path)
|
36 |
return tmp_path
|
37 |
|
38 |
+
@spaces.GPU
|
39 |
def generate(
|
40 |
message: str,
|
41 |
chat_history: list[dict],
|