Spaces:
Running
on
Zero
Running
on
Zero
Update demo.py
Browse files
demo.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
import os
|
|
|
3 |
import torch
|
4 |
import argparse
|
5 |
import torchvision
|
@@ -20,7 +21,7 @@ from sample.pipeline_latte import LattePipeline
|
|
20 |
from models import get_models
|
21 |
import imageio
|
22 |
from torchvision.utils import save_image
|
23 |
-
|
24 |
|
25 |
|
26 |
parser = argparse.ArgumentParser()
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
+
import spaces
|
4 |
import torch
|
5 |
import argparse
|
6 |
import torchvision
|
|
|
21 |
from models import get_models
|
22 |
import imageio
|
23 |
from torchvision.utils import save_image
|
24 |
+
|
25 |
|
26 |
|
27 |
parser = argparse.ArgumentParser()
|