Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import spaces
|
|
3 |
from huggingface_hub import HfApi
|
4 |
|
5 |
@spaces.GPU(duration=60)
|
6 |
-
def generate_image(prompt, negative_prompt="", seed=-
|
7 |
# This function will be called by gr.load(), so we don't need to implement it here
|
8 |
pass
|
9 |
|
|
|
3 |
from huggingface_hub import HfApi
|
4 |
|
5 |
@spaces.GPU(duration=60)
|
6 |
+
def generate_image(prompt, negative_prompt="", seed=-331, width=512, height=512, guidance_scale=3.5, num_inference_steps=20):
|
7 |
# This function will be called by gr.load(), so we don't need to implement it here
|
8 |
pass
|
9 |
|