Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import subprocess
|
|
| 4 |
import asyncio
|
| 5 |
import uuid
|
| 6 |
from typing import Sequence, Mapping, Any, Union
|
| 7 |
-
|
| 8 |
# --- 2. Let ComfyUI's main.py handle all initial setup ---
|
| 9 |
print("Importing ComfyUI's main.py for setup...")
|
| 10 |
import main
|
|
@@ -15,7 +15,6 @@ import torch
|
|
| 15 |
import gradio as gr
|
| 16 |
from huggingface_hub import hf_hub_download
|
| 17 |
from comfy import model_management
|
| 18 |
-
import spaces
|
| 19 |
from PIL import Image
|
| 20 |
import random
|
| 21 |
import nodes
|
|
|
|
| 4 |
import asyncio
|
| 5 |
import uuid
|
| 6 |
from typing import Sequence, Mapping, Any, Union
|
| 7 |
+
import spaces
|
| 8 |
# --- 2. Let ComfyUI's main.py handle all initial setup ---
|
| 9 |
print("Importing ComfyUI's main.py for setup...")
|
| 10 |
import main
|
|
|
|
| 15 |
import gradio as gr
|
| 16 |
from huggingface_hub import hf_hub_download
|
| 17 |
from comfy import model_management
|
|
|
|
| 18 |
from PIL import Image
|
| 19 |
import random
|
| 20 |
import nodes
|