jkorstad commited on
Commit
cba111a
·
verified ·
1 Parent(s): 084d3d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -221,8 +221,8 @@ def create_app():
221
  content, has_more, remaining = search_spaces(search_text, category, offset)
222
  return {
223
  spaces_display: content,
224
- load_more_btn: gr.Button.update(visible=has_more),
225
- remaining_text: gr.Markdown.update(
226
  visible=has_more,
227
  value=f"*{remaining} more spaces available*"
228
  )
 
221
  content, has_more, remaining = search_spaces(search_text, category, offset)
222
  return {
223
  spaces_display: content,
224
+ load_more_btn: gr.update(visible=has_more), # Changed from gr.Button.update
225
+ remaining_text: gr.update( # Changed from gr.Markdown.update
226
  visible=has_more,
227
  value=f"*{remaining} more spaces available*"
228
  )