Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -145,6 +145,7 @@ with demo:
|
|
145 |
aud_pan = gr.Audio(label="Panoramic Audio", type="filepath")
|
146 |
|
147 |
# Preview update
|
|
|
148 |
def run_all(pan, vw, loc, mdl, dur, cpu):
|
149 |
# generate files
|
150 |
process_images(LOGS_DIR, OUTPUT_DIR, pan, vw, mdl, loc, dur, cpu)
|
|
|
145 |
aud_pan = gr.Audio(label="Panoramic Audio", type="filepath")
|
146 |
|
147 |
# Preview update
|
148 |
+
@spaces.GPU
|
149 |
def run_all(pan, vw, loc, mdl, dur, cpu):
|
150 |
# generate files
|
151 |
process_images(LOGS_DIR, OUTPUT_DIR, pan, vw, mdl, loc, dur, cpu)
|