ysharma HF staff commited on
Commit
3eddf74
1 Parent(s): 7874056

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -168,7 +168,7 @@ with gr.Blocks() as demo:
168
  print(f'returned value of end = {end}')
169
  return df_images, end, start, gr.Button(interactive=False) if start==0 else gr.Button(interactive=True)
170
 
171
- reka.select(get_example, [reka,num_start] chat_input, show_progress="hidden")
172
  b2.click(fn=display_next, inputs= [reka, num_end ], outputs=[reka, num_end, num_start, b1], api_name="next_rows", show_progress=False)
173
  b1.click(fn=display_previous, inputs= [reka, num_start ], outputs=[reka, num_end, num_start, b1], api_name="previous_rows")
174
 
 
168
  print(f'returned value of end = {end}')
169
  return df_images, end, start, gr.Button(interactive=False) if start==0 else gr.Button(interactive=True)
170
 
171
+ reka.select(get_example, [reka,num_start], chat_input, show_progress="hidden")
172
  b2.click(fn=display_next, inputs= [reka, num_end ], outputs=[reka, num_end, num_start, b1], api_name="next_rows", show_progress=False)
173
  b1.click(fn=display_previous, inputs= [reka, num_start ], outputs=[reka, num_end, num_start, b1], api_name="previous_rows")
174