merve HF staff commited on
Commit
660d034
1 Parent(s): 9847da8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -123,7 +123,7 @@ with gr.Blocks() as demo:
123
  img_area = gr.Image(label="Ekran Görüntüsü")
124
  ocr_result = gr.Textbox(label="Metin")
125
  open_api_text = gr.Textbox(label="Tam Adres")
126
- submit_button = gr.Button(label="Görüntüyü Yükle", api_name="upload-file")
127
  with gr.Column():
128
  with gr.Row():
129
  il = gr.Textbox(label="İl")
@@ -138,7 +138,7 @@ with gr.Blocks() as demo:
138
  isim_soyisim = gr.Textbox(label="İsim Soyisim")
139
  adres = gr.Textbox(label="Adres")
140
 
141
- submit_button.click(get_text, img_area, ocr_result)
142
 
143
  ocr_result.change(openai_response, ocr_result, open_api_text)
144
 
 
123
  img_area = gr.Image(label="Ekran Görüntüsü")
124
  ocr_result = gr.Textbox(label="Metin")
125
  open_api_text = gr.Textbox(label="Tam Adres")
126
+ submit_button = gr.Button(label="Görüntüyü Yükle")
127
  with gr.Column():
128
  with gr.Row():
129
  il = gr.Textbox(label="İl")
 
138
  isim_soyisim = gr.Textbox(label="İsim Soyisim")
139
  adres = gr.Textbox(label="Adres")
140
 
141
+ submit_button.click(get_text, img_area, ocr_result, api_name="upload-file")
142
 
143
  ocr_result.change(openai_response, ocr_result, open_api_text)
144