Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,17 +3,16 @@
|
|
3 |
import os
|
4 |
import random
|
5 |
import uuid
|
6 |
-
|
7 |
import gradio as gr
|
8 |
import numpy as np
|
9 |
from PIL import Image
|
10 |
import spaces
|
11 |
import torch
|
|
|
12 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
13 |
|
14 |
-
DESCRIPTION = """
|
15 |
-
# DALL•E 3 XL v2
|
16 |
-
"""
|
17 |
|
18 |
def create_download_link(filename):
|
19 |
with open(filename, "rb") as file:
|
|
|
3 |
import os
|
4 |
import random
|
5 |
import uuid
|
6 |
+
import base64
|
7 |
import gradio as gr
|
8 |
import numpy as np
|
9 |
from PIL import Image
|
10 |
import spaces
|
11 |
import torch
|
12 |
+
|
13 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
14 |
|
15 |
+
DESCRIPTION = """# DALL•E 3 XL v2 High Fi"""
|
|
|
|
|
16 |
|
17 |
def create_download_link(filename):
|
18 |
with open(filename, "rb") as file:
|