Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ article = """
|
|
| 16 |
|
| 17 |
def images(text, input_image, pictures):
|
| 18 |
if input_image:
|
| 19 |
-
return [load_dataset("DoomAI/doomai", data_files="Accordion/001e9bee1924c738.jpg")["train"]["image"]] * pictures
|
| 20 |
|
| 21 |
# Gradio
|
| 22 |
with gr.Blocks(theme=gr.themes.Default(primary_hue=gr.themes.colors.blue, secondary_hue=gr.themes.colors.orange)) as demo:
|
|
|
|
| 16 |
|
| 17 |
def images(text, input_image, pictures):
|
| 18 |
if input_image:
|
| 19 |
+
return [load_dataset("DoomAI/doomai", data_files="Accordion/001e9bee1924c738.jpg")["train"]["image"][0]] * pictures
|
| 20 |
|
| 21 |
# Gradio
|
| 22 |
with gr.Blocks(theme=gr.themes.Default(primary_hue=gr.themes.colors.blue, secondary_hue=gr.themes.colors.orange)) as demo:
|