prithivMLmods commited on
Commit
70e87c9
·
verified ·
1 Parent(s): 4697f26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -8
app.py CHANGED
@@ -155,14 +155,15 @@ with gr.Blocks(title="GLM-OCR") as demo:
155
  sources=["upload", "clipboard"],
156
  height=300
157
  )
158
-
159
- task = gr.Radio(
160
- choices=list(TASK_PROMPTS.keys()),
161
- value="Text",
162
- label="Recognition Type"
163
- )
164
-
165
- btn = gr.Button("Recognize", variant="primary")
 
166
 
167
  gr.Examples(
168
  examples=["examples/1.jpg", "examples/2.jpg", "examples/3.jpg"],
 
155
  sources=["upload", "clipboard"],
156
  height=300
157
  )
158
+ with gr.Row():
159
+ task = gr.Radio(
160
+ choices=list(TASK_PROMPTS.keys()),
161
+ value="Text",
162
+ label="Recognition Type"
163
+ )
164
+
165
+ with gr.Row():
166
+ btn = gr.Button("Recognize", variant="primary")
167
 
168
  gr.Examples(
169
  examples=["examples/1.jpg", "examples/2.jpg", "examples/3.jpg"],