fix error
Browse files
app.py
CHANGED
|
@@ -161,7 +161,6 @@ with gr.Blocks(title="Text Extraction Demo", theme=gr.themes.Soft()) as demo:
|
|
| 161 |
loc_image = gr.Image(type="pil", label="🖼️ Upload Image", sources=["upload", "clipboard"])
|
| 162 |
loc_model_size = gr.Dropdown(choices=["Tiny", "Small", "Base", "Large", "Gundam (Recommended)"], value="Base", label="⚙️ Resolution Size")
|
| 163 |
# ref_text_input = gr.Textbox(label="📝 Reference Text (what to locate)", placeholder="e.g., the teacher, 20-10, a red car...")
|
| 164 |
-
ref_text_input = "pets"
|
| 165 |
loc_btn = gr.Button("Locate", variant="primary")
|
| 166 |
|
| 167 |
with gr.Column(scale=2):
|
|
|
|
| 161 |
loc_image = gr.Image(type="pil", label="🖼️ Upload Image", sources=["upload", "clipboard"])
|
| 162 |
loc_model_size = gr.Dropdown(choices=["Tiny", "Small", "Base", "Large", "Gundam (Recommended)"], value="Base", label="⚙️ Resolution Size")
|
| 163 |
# ref_text_input = gr.Textbox(label="📝 Reference Text (what to locate)", placeholder="e.g., the teacher, 20-10, a red car...")
|
|
|
|
| 164 |
loc_btn = gr.Button("Locate", variant="primary")
|
| 165 |
|
| 166 |
with gr.Column(scale=2):
|