Spaces:
Running
on
Zero
Running
on
Zero
Add new model
Browse files- model/model_manager.py +1 -0
model/model_manager.py
CHANGED
@@ -4,6 +4,7 @@ import gradio as gr
|
|
4 |
import requests
|
5 |
import io, base64, json
|
6 |
import spaces
|
|
|
7 |
from PIL import Image
|
8 |
from openai import OpenAI
|
9 |
from .models import IMAGE_GENERATION_MODELS, IMAGE_EDITION_MODELS, load_pipeline
|
|
|
4 |
import requests
|
5 |
import io, base64, json
|
6 |
import spaces
|
7 |
+
import torch
|
8 |
from PIL import Image
|
9 |
from openai import OpenAI
|
10 |
from .models import IMAGE_GENERATION_MODELS, IMAGE_EDITION_MODELS, load_pipeline
|