Update app.py
Browse files
app.py
CHANGED
|
@@ -258,13 +258,11 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
|
|
| 258 |
repetition_penalty = gr.Slider(label="Repetition penalty", minimum=1.0, maximum=2.0, step=0.05, value=1.2)
|
| 259 |
|
| 260 |
with gr.Column():
|
| 261 |
-
# --- CODE MODIFICATION START ---
|
| 262 |
# Wrapped the outputs in a styled Column to act as the Canvas
|
| 263 |
with gr.Column(elem_classes="canvas-output"):
|
| 264 |
-
gr.Markdown("##
|
| 265 |
output = gr.Textbox(label="Raw Output Stream", interactive=False, lines=2)
|
| 266 |
markdown_output = gr.Markdown(label="Formatted Result (Result.Md)")
|
| 267 |
-
# --- CODE MODIFICATION END ---
|
| 268 |
|
| 269 |
model_choice = gr.Radio(
|
| 270 |
choices=["DREX-062225-exp", "VIREX-062225-exp", "olmOCR-7B-0225"],
|
|
|
|
| 258 |
repetition_penalty = gr.Slider(label="Repetition penalty", minimum=1.0, maximum=2.0, step=0.05, value=1.2)
|
| 259 |
|
| 260 |
with gr.Column():
|
|
|
|
| 261 |
# Wrapped the outputs in a styled Column to act as the Canvas
|
| 262 |
with gr.Column(elem_classes="canvas-output"):
|
| 263 |
+
gr.Markdown("## Result Canvas")
|
| 264 |
output = gr.Textbox(label="Raw Output Stream", interactive=False, lines=2)
|
| 265 |
markdown_output = gr.Markdown(label="Formatted Result (Result.Md)")
|
|
|
|
| 266 |
|
| 267 |
model_choice = gr.Radio(
|
| 268 |
choices=["DREX-062225-exp", "VIREX-062225-exp", "olmOCR-7B-0225"],
|