pikto commited on
Commit
5c0bf56
·
1 Parent(s): e8fdc19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -148,16 +148,16 @@ with gr.Blocks(theme='pikto/theme@>=0.0.1,<0.0.3') as pan:
148
  Stream <a href="https://github.com/playgroundai/liked_images" target="_blank">PlaygroundAI Images</a> ina beautiful grid</h4><br>
149
  </div>""")
150
 
151
- with gr.Column(): #(elem_id = "col-container"):
152
- b1 = gr.Button("Load More Images").style(full_width=False)
153
- df = gr.Textbox(visible=False,elem_id='dataframe', value=response_dict)
154
- row_count = gr.Number(visible=False, value=19 )
155
- img_search = gr.HTML(label = 'Images from PlaygroundAI dataset', elem_id="img_search",
156
  value=initial_imgs ) #initial[:-1] )
157
 
158
- gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/Stream_PlaygroundAI_Images?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a></center>
159
  </p></div>''')
160
- b1.click(get_next10_images, [df, row_count], [df, row_count, img_search], api_name = "load_playgroundai_images" )
161
 
162
 
163
  with gr.Tab("Diffuser"):
 
148
  Stream <a href="https://github.com/playgroundai/liked_images" target="_blank">PlaygroundAI Images</a> ina beautiful grid</h4><br>
149
  </div>""")
150
 
151
+ with gr.Column(): #(elem_id = "col-container"):
152
+ b1 = gr.Button("Load More Images").style(full_width=False)
153
+ df = gr.Textbox(visible=False,elem_id='dataframe', value=response_dict)
154
+ row_count = gr.Number(visible=False, value=19 )
155
+ img_search = gr.HTML(label = 'Images from PlaygroundAI dataset', elem_id="img_search",
156
  value=initial_imgs ) #initial[:-1] )
157
 
158
+ gr.HTML('''<center><a href="https://huggingface.co/spaces/ysharma/Stream_PlaygroundAI_Images?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a></center>
159
  </p></div>''')
160
+ b1.click(get_next10_images, [df, row_count], [df, row_count, img_search], api_name = "load_playgroundai_images" )
161
 
162
 
163
  with gr.Tab("Diffuser"):