Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def enhanche_prompt(prompt, system_prompt='You are a prompt enhancer', model="m
|
|
25 |
|
26 |
|
27 |
# Function to call Hugging Face API and get the generated image
|
28 |
-
def generate_image(prompt, enhance=False
|
29 |
if enhance:
|
30 |
prompt = enhanche_prompt(prompt)
|
31 |
|
|
|
25 |
|
26 |
|
27 |
# Function to call Hugging Face API and get the generated image
|
28 |
+
def generate_image(prompt, enhance=False):
|
29 |
if enhance:
|
30 |
prompt = enhanche_prompt(prompt)
|
31 |
|