reach-vb HF staff ysharma HF staff commited on
Commit
00dc59f
1 Parent(s): 450e242

enable scrolling (#86)

Browse files

- enable scrolling (eb94f1912530fc6acaefc7f70c8f893d7c512e10)


Co-authored-by: yuvraj sharma <[email protected]>

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