Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
import gradio as gr
|
2 |
import torch
|
|
|
3 |
from lama_cleaner.model_manager import ModelManager
|
4 |
from lama_cleaner.schema import Config, HDStrategy, LDMSampler
|
5 |
from transformers import AutoProcessor, AutoModelForCausalLM
|
6 |
import cv2
|
7 |
import numpy as np
|
8 |
from PIL import Image, ImageDraw
|
9 |
-
import spaces
|
10 |
import subprocess
|
11 |
|
12 |
# Install necessary packages
|
|
|
1 |
import gradio as gr
|
2 |
import torch
|
3 |
+
import spaces
|
4 |
from lama_cleaner.model_manager import ModelManager
|
5 |
from lama_cleaner.schema import Config, HDStrategy, LDMSampler
|
6 |
from transformers import AutoProcessor, AutoModelForCausalLM
|
7 |
import cv2
|
8 |
import numpy as np
|
9 |
from PIL import Image, ImageDraw
|
|
|
10 |
import subprocess
|
11 |
|
12 |
# Install necessary packages
|