Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,6 @@ from diffusers.utils import export_to_gif, load_image
|
|
5 |
from realesrgan import RealESRGAN
|
6 |
from PIL import Image
|
7 |
import cv2
|
8 |
-
import numpy as np
|
9 |
|
10 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
11 |
|
@@ -114,5 +113,6 @@ demo2 = gr.Interface(
|
|
114 |
|
115 |
demo = gr.TabbedInterface([demo1, demo2], ["Advanced Video Generation", "Simple Video Generation"])
|
116 |
|
|
|
117 |
demo.launch()
|
118 |
#demo.launch(server_name="0.0.0.0", server_port=7910)
|
|
|
5 |
from realesrgan import RealESRGAN
|
6 |
from PIL import Image
|
7 |
import cv2
|
|
|
8 |
|
9 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
10 |
|
|
|
113 |
|
114 |
demo = gr.TabbedInterface([demo1, demo2], ["Advanced Video Generation", "Simple Video Generation"])
|
115 |
|
116 |
+
|
117 |
demo.launch()
|
118 |
#demo.launch(server_name="0.0.0.0", server_port=7910)
|