merve HF staff commited on
Commit
1ea7958
1 Parent(s): f91e6ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(get_text, 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
 
 
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