Avijit Ghosh commited on
Commit
7ec82a2
·
1 Parent(s): fd50825

updated for gradio 6

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -138,7 +138,7 @@ custom_css = """
138
  }
139
  """
140
 
141
- with gr.Blocks(title="🤗 ModelVerse Explorer", fill_width=True, css=custom_css) as demo:
142
  models_data_state = gr.State([])
143
  loading_complete_state = gr.State(False)
144
 
@@ -271,4 +271,4 @@ with gr.Blocks(title="🤗 ModelVerse Explorer", fill_width=True, css=custom_css
271
 
272
  if __name__ == "__main__":
273
  print(f"Application starting...")
274
- demo.queue().launch()
 
138
  }
139
  """
140
 
141
+ with gr.Blocks(title="🤗 ModelVerse Explorer", fill_width=True) as demo:
142
  models_data_state = gr.State([])
143
  loading_complete_state = gr.State(False)
144
 
 
271
 
272
  if __name__ == "__main__":
273
  print(f"Application starting...")
274
+ demo.queue().launch(css=custom_css, ssr_mode=False)