enable scrolling

#86
by ysharma HF staff - opened
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -261,9 +261,11 @@ def process_model(model_id, q_method, use_imatrix, imatrix_q_method, private_rep
261
  shutil.rmtree(model_name, ignore_errors=True)
262
  print("Folder cleaned up successfully!")
263
 
264
-
 
 
265
  # Create Gradio interface
266
- with gr.Blocks() as demo:
267
  gr.Markdown("You must be logged in to use GGUF-my-repo.")
268
  gr.LoginButton(min_width=250)
269
 
 
261
  shutil.rmtree(model_name, ignore_errors=True)
262
  print("Folder cleaned up successfully!")
263
 
264
+ css="""/* Custom CSS to allow scrolling */
265
+ .gradio-container {overflow-y: auto;}
266
+ """
267
  # Create Gradio interface
268
+ with gr.Blocks(css=css) as demo:
269
  gr.Markdown("You must be logged in to use GGUF-my-repo.")
270
  gr.LoginButton(min_width=250)
271