Muhammad Taqi Raza
commited on
Commit
·
9e2ef52
1
Parent(s):
d9d5c7a
gradio
Browse files- gradio_app.py +0 -2
gradio_app.py
CHANGED
@@ -5,7 +5,6 @@ from pathlib import Path
|
|
5 |
import gradio as gr
|
6 |
import numpy as np
|
7 |
import os
|
8 |
-
import spaces
|
9 |
# -----------------------------
|
10 |
# Setup paths and env
|
11 |
# -----------------------------
|
@@ -106,7 +105,6 @@ def get_anchor_video(video_path, fps, num_frames, target_pose, mode,
|
|
106 |
# -----------------------------
|
107 |
# Step 2: Run Inference
|
108 |
# -----------------------------
|
109 |
-
@spaces.GPU
|
110 |
def inference(
|
111 |
fps, num_frames, controlnet_weights, controlnet_guidance_start,
|
112 |
controlnet_guidance_end, guidance_scale, num_inference_steps, dtype,
|
|
|
5 |
import gradio as gr
|
6 |
import numpy as np
|
7 |
import os
|
|
|
8 |
# -----------------------------
|
9 |
# Setup paths and env
|
10 |
# -----------------------------
|
|
|
105 |
# -----------------------------
|
106 |
# Step 2: Run Inference
|
107 |
# -----------------------------
|
|
|
108 |
def inference(
|
109 |
fps, num_frames, controlnet_weights, controlnet_guidance_start,
|
110 |
controlnet_guidance_end, guidance_scale, num_inference_steps, dtype,
|