Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
127 |
with gr.Column():
|
128 |
with gr.Row():
|
129 |
il = gr.Textbox(label="İl")
|
@@ -138,7 +138,6 @@ with gr.Blocks() as demo:
|
|
138 |
isim_soyisim = gr.Textbox(label="İsim Soyisim")
|
139 |
adres = gr.Textbox(label="Adres")
|
140 |
|
141 |
-
submit_button = gr.Button(label="Görüntüyü Yükle")
|
142 |
submit_button.click(get_text, img_area, ocr_result)
|
143 |
|
144 |
ocr_result.change(openai_response, ocr_result, open_api_text)
|
|
|
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)
|
142 |
|
143 |
ocr_result.change(openai_response, ocr_result, open_api_text)
|