Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update app.py
Browse files
    	
        app.py
    CHANGED
    
    | 
         @@ -138,9 +138,9 @@ 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 | 
         | 
| 145 | 
         
             
                open_api_text.change(text_dict_il, [open_api_text], il)
         
     | 
| 146 | 
         
             
                open_api_text.change(text_dict_ilce, [open_api_text], ilce)
         
     | 
| 
         | 
|
| 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, api_name="upload-file")
         
     | 
| 144 | 
         | 
| 145 | 
         
             
                open_api_text.change(text_dict_il, [open_api_text], il)
         
     | 
| 146 | 
         
             
                open_api_text.change(text_dict_ilce, [open_api_text], ilce)
         
     |