Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -46,6 +46,7 @@ list_prompts = get_samples()
|
|
46 |
|
47 |
def generate_txt2img(current_model, prompt, is_negative=False, image_style="None style", steps=50, cfg_scale=7,
|
48 |
seed=None):
|
|
|
49 |
|
50 |
if current_model == "SD-1.5":
|
51 |
API_URL = "https://api-inference.huggingface.co/models/runwayml/stable-diffusion-v1-5"
|
|
|
46 |
|
47 |
def generate_txt2img(current_model, prompt, is_negative=False, image_style="None style", steps=50, cfg_scale=7,
|
48 |
seed=None):
|
49 |
+
print("call {} {} one time".format(current_model, prompt))
|
50 |
|
51 |
if current_model == "SD-1.5":
|
52 |
API_URL = "https://api-inference.huggingface.co/models/runwayml/stable-diffusion-v1-5"
|