Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,14 +2,14 @@ import gradio as gr
|
|
2 |
import spaces
|
3 |
|
4 |
@spaces.GPU
|
5 |
-
def generate_image(prompt, negative_prompt="", seed=
|
6 |
# This function will be called by gr.load(), so we don't need to implement it here
|
7 |
pass
|
8 |
|
9 |
examples = [
|
10 |
-
["d3xt3r
|
11 |
-
["d3xt3r
|
12 |
-
["d3xt3r
|
13 |
]
|
14 |
|
15 |
demo = gr.load("models/GenAIJake/d3xt3r")
|
|
|
2 |
import spaces
|
3 |
|
4 |
@spaces.GPU
|
5 |
+
def generate_image(prompt, negative_prompt="", seed=42, width=512, height=512, guidance_scale=3.5, num_inference_steps=20):
|
6 |
# This function will be called by gr.load(), so we don't need to implement it here
|
7 |
pass
|
8 |
|
9 |
examples = [
|
10 |
+
["d3xt3r as a camp counselor in the woods."],
|
11 |
+
["d3xt3r dressed as batman"],
|
12 |
+
["d3xt3r in a suit and tie"],
|
13 |
]
|
14 |
|
15 |
demo = gr.load("models/GenAIJake/d3xt3r")
|