Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -8,6 +8,9 @@ import uuid
|
|
8 |
from typing import Tuple
|
9 |
import numpy as np
|
10 |
|
|
|
|
|
|
|
11 |
# Function to save an image with a unique name
|
12 |
def save_image(img):
|
13 |
unique_name = str(uuid.uuid4()) + ".png"
|
@@ -134,6 +137,7 @@ footer {
|
|
134 |
|
135 |
# Gradio interface
|
136 |
with gr.Blocks(css=css) as demo:
|
|
|
137 |
with gr.Row():
|
138 |
prompt = gr.Text(
|
139 |
label="Prompt",
|
|
|
8 |
from typing import Tuple
|
9 |
import numpy as np
|
10 |
|
11 |
+
DESCRIPTION = """##
|
12 |
+
"""
|
13 |
+
|
14 |
# Function to save an image with a unique name
|
15 |
def save_image(img):
|
16 |
unique_name = str(uuid.uuid4()) + ".png"
|
|
|
137 |
|
138 |
# Gradio interface
|
139 |
with gr.Blocks(css=css) as demo:
|
140 |
+
gr.Markdown(DESCRIPTION)
|
141 |
with gr.Row():
|
142 |
prompt = gr.Text(
|
143 |
label="Prompt",
|