Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -143,7 +143,7 @@ with gr.Blocks() as demo:
|
|
143 |
isim_soyisim = gr.Textbox(label="İsim Soyisim")
|
144 |
adres = gr.Textbox(label="Adres")
|
145 |
|
146 |
-
submit_button.click(
|
147 |
|
148 |
ocr_result.change(openai_response, ocr_result, open_api_text, api_name="upload-text")
|
149 |
|
|
|
143 |
isim_soyisim = gr.Textbox(label="İsim Soyisim")
|
144 |
adres = gr.Textbox(label="Adres")
|
145 |
|
146 |
+
submit_button.click(get_parsed_address, inputs = img_area, outputs = open_api_text, api_name="upload_image")
|
147 |
|
148 |
ocr_result.change(openai_response, ocr_result, open_api_text, api_name="upload-text")
|
149 |
|