Spaces:
Runtime error
Runtime error
Update app.py
Browse files47 unmodified lines484950515253542 unmodified lines5758596061626347 unmodified linesimage_embeddings,text,image_filenames=valid_df['image'].values,n=9)return generated_images2 unmodified lineswith gr.Blocks() as demo:text_input = gr.Textbox(label="Enter text")submit_button = gr.Button("Generate Images")image_gallery = gr.Gallery(label="Generated Images")def generate_and_update(text):if text:47 unmodified lines484950515253542 unmodified lines5758596061626347 unmodified linesimage_embeddings,text,image_filenames=valid_df['image'].values,n=6)return generated_images2 unmodified lineswith gr.Blocks() as demo:text_input = gr.Textbox(label="Enter text")submit_button = gr.Button("Generate Images")image_gallery = gr.Gallery(label="Generated Images", height="auto")def generate_and_update(text):if text:
app.py+2-2