Omnibus commited on
Commit
2d10f13
·
verified ·
1 Parent(s): c751e53

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -510,13 +510,13 @@ def clear_fn():
510
 
511
 
512
  css="""
513
- #wrap { width: 600px; height: 390px; padding: 0; overflow: hidden; }
514
- #frame { width: 800px; height: 520px; border: 1px solid black; }
515
- #frame { zoom: 0.75; -moz-transform: scale(0.75); -moz-transform-origin: 0 0; }
516
  """
517
 
518
 
519
- with gr.Blocks(css=css) as app:
520
  gr.HTML("""<center><h1>Mixtral 8x7B TLDR Summarizer + Web</h1><h3>Summarize Data of unlimited length</h3>""")
521
  chatbot = gr.Chatbot(label="Mixtral 8x7B Chatbot",show_copy_button=True)
522
  with gr.Row():
 
510
 
511
 
512
  css="""
513
+ #wrap { width: 100%; height: 100%; padding: 0; overflow: hidden; }
514
+ #frame { width: 800px; height: 800px; border: 1px solid black; }
515
+ #frame { zoom: $ZOOM; -moz-transform: scale($ZOOM); -moz-transform-origin: 0 0; }
516
  """
517
 
518
 
519
+ with gr.Blocks(css=css.replace("$ZOOM",1.25)) as app:
520
  gr.HTML("""<center><h1>Mixtral 8x7B TLDR Summarizer + Web</h1><h3>Summarize Data of unlimited length</h3>""")
521
  chatbot = gr.Chatbot(label="Mixtral 8x7B Chatbot",show_copy_button=True)
522
  with gr.Row():