Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -510,13 +510,13 @@ def clear_fn():
|
|
| 510 |
|
| 511 |
|
| 512 |
css="""
|
| 513 |
-
#wrap { width:
|
| 514 |
-
#frame { width: 800px; height:
|
| 515 |
-
#frame { zoom:
|
| 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():
|