Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
with open("sdxl_lora.json", "r") as file:
|
| 2 |
data = json.load(file)
|
| 3 |
sdxl_loras_raw = [
|
|
|
|
| 1 |
+
import json
|
| 2 |
+
import random
|
| 3 |
+
|
| 4 |
+
import gradio as gr
|
| 5 |
+
import numpy as np
|
| 6 |
+
import spaces
|
| 7 |
+
import torch
|
| 8 |
+
from diffusers import DiffusionPipeline, LCMScheduler
|
| 9 |
+
|
| 10 |
with open("sdxl_lora.json", "r") as file:
|
| 11 |
data = json.load(file)
|
| 12 |
sdxl_loras_raw = [
|