Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -279,9 +279,9 @@ def process_bas(
|
|
279 |
|
280 |
|
281 |
def run_demo_server(pipe):
|
282 |
-
process_pipe_image = spaces.GPU(
|
283 |
-
process_pipe_video = spaces.GPU(
|
284 |
-
process_pipe_bas = spaces.GPU(
|
285 |
os.environ["GRADIO_ALLOW_FLAGGING"] = "never"
|
286 |
|
287 |
gradio_theme = gr.themes.Default()
|
|
|
279 |
|
280 |
|
281 |
def run_demo_server(pipe):
|
282 |
+
process_pipe_image = spaces.GPU(lambda *args, **kwargs: process_image(pipe, *args, **kwargs))
|
283 |
+
process_pipe_video = spaces.GPU(lambda *args, **kwargs: process_video(pipe, *args, **kwargs))
|
284 |
+
process_pipe_bas = spaces.GPU(lambda *args, **kwargs: process_bas(pipe, *args, **kwargs))
|
285 |
os.environ["GRADIO_ALLOW_FLAGGING"] = "never"
|
286 |
|
287 |
gradio_theme = gr.themes.Default()
|