Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def generate_image(prompt):
|
|
| 20 |
except Exception as e:
|
| 21 |
return f"Error generating image: {e}"
|
| 22 |
|
| 23 |
-
|
| 24 |
body {
|
| 25 |
background: linear-gradient(135deg, #121212, #1e1e2e);
|
| 26 |
color: white;
|
|
@@ -63,7 +63,7 @@ input:focus, textarea:focus {
|
|
| 63 |
outline: 2px solid #ff416c;
|
| 64 |
color: white;
|
| 65 |
}
|
| 66 |
-
|
| 67 |
|
| 68 |
with gr.Blocks(css=css) as demo:
|
| 69 |
title="🚀 Agents Valley AI Image Generator",
|
|
|
|
| 20 |
except Exception as e:
|
| 21 |
return f"Error generating image: {e}"
|
| 22 |
|
| 23 |
+
css = """
|
| 24 |
body {
|
| 25 |
background: linear-gradient(135deg, #121212, #1e1e2e);
|
| 26 |
color: white;
|
|
|
|
| 63 |
outline: 2px solid #ff416c;
|
| 64 |
color: white;
|
| 65 |
}
|
| 66 |
+
"""
|
| 67 |
|
| 68 |
with gr.Blocks(css=css) as demo:
|
| 69 |
title="🚀 Agents Valley AI Image Generator",
|