Spaces:
Sleeping
Sleeping
Update cookie_run_generator.py
Browse files- cookie_run_generator.py +8 -0
cookie_run_generator.py
CHANGED
@@ -9,3 +9,11 @@ def generate_cookie_run_image(character_description):
|
|
9 |
|
10 |
# For now, let's return a placeholder image
|
11 |
return "path/to/placeholder_image.png"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
# For now, let's return a placeholder image
|
11 |
return "path/to/placeholder_image.png"
|
12 |
+
image_interface = gr.Interface(
|
13 |
+
fn=generate_cookie_run_image,
|
14 |
+
inputs="text", # Input: Text description of the character
|
15 |
+
outputs="image", # Output: Generated image
|
16 |
+
title="Cookie Run Character Generator",
|
17 |
+
description="Enter a description of a Cookie Run character, and the AI will create an image!",
|
18 |
+
)
|
19 |
+
image_interface.launch()
|