Spaces:
Runtime error
Runtime error
Sethblocks
commited on
Commit
•
d989afe
1
Parent(s):
8b8ae17
Use gpu
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ with gr.Blocks() as demo:
|
|
104 |
stopbtn.click(None, js="window.location.reload()")
|
105 |
ttsout = gr.Audio(autoplay=True)
|
106 |
autime = 0
|
107 |
-
|
108 |
def watch(prompt):
|
109 |
global chara
|
110 |
global chat
|
|
|
104 |
stopbtn.click(None, js="window.location.reload()")
|
105 |
ttsout = gr.Audio(autoplay=True)
|
106 |
autime = 0
|
107 |
+
@spaces.GPU(duration=90)
|
108 |
def watch(prompt):
|
109 |
global chara
|
110 |
global chat
|