Spaces:
Runtime error

Ivruix commited on
Commit
0142889
·
verified ·
1 Parent(s): 66edf47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: