wjbmattingly commited on
Commit
ca24391
1 Parent(s): 5adbad8

adjusted the scale of output image

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -148,13 +148,13 @@ with gr.Blocks() as iface:
148
 
149
 
150
  with gr.Row():
151
- input_image = gr.Image(type="pil", label="Upload Image", height=300, width=300) # Adjusted size here
152
- with gr.Column():
153
- model_dropdown = gr.Dropdown(choices=list(MODEL_OPTIONS.keys()), value="Medieval Base", label="Select Model")
154
- submit_button = gr.Button("Process")
155
-
156
  with gr.Row():
157
- output_image = gr.Image(type="pil", label="Detected Lines", height=500, width=500)
158
  output_text = gr.Textbox(label="Transcription")
159
 
160
  submit_button.click(
 
148
 
149
 
150
  with gr.Row():
151
+ input_image = gr.Image(type="pil", label="Upload Image", height=300, width=300)
152
+ with gr.Column():
153
+ model_dropdown = gr.Dropdown(choices=list(MODEL_OPTIONS.keys()), value="Medieval Base", label="Select Model")
154
+ submit_button = gr.Button("Process")
155
+
156
  with gr.Row():
157
+ output_image = gr.Image(type="pil", label="Detected Lines", scale=1, max_width=500)
158
  output_text = gr.Textbox(label="Transcription")
159
 
160
  submit_button.click(