Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,9 @@ import os
|
|
4 |
import requests
|
5 |
import time
|
6 |
|
|
|
|
|
|
|
7 |
import torch
|
8 |
|
9 |
from diffusers import StableDiffusionControlNetImg2ImgPipeline, ControlNetModel, DDIMScheduler
|
|
|
4 |
import requests
|
5 |
import time
|
6 |
|
7 |
+
import subprocess
|
8 |
+
subprocess.run("pip install git+https://github.com/inference-sh/Real-ESRGAN.git --no-deps", shell=True)
|
9 |
+
|
10 |
import torch
|
11 |
|
12 |
from diffusers import StableDiffusionControlNetImg2ImgPipeline, ControlNetModel, DDIMScheduler
|