Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -246,7 +246,7 @@ def detect(img, target_lang,trans_lang,ocr_sens,font_fac,target_lang2=None):
|
|
246 |
return im_out,blr_out,pd.DataFrame(bounds),pd.DataFrame(bounds).iloc[:,1:]
|
247 |
|
248 |
with gr.Blocks() as robot:
|
249 |
-
gr.Markdown("""<h1><center>Translate Image to Image</center></h1><h4><center>EasyOCR and facebook/m2m100_1.2B</center></h4><h7><center>*translation may not be accurate</center></h7>""")
|
250 |
with gr.Accordion(label="Description",open=False):
|
251 |
with gr.Row():
|
252 |
gr.Markdown("""<p> Drop your image in the "Image to Translate" Box<br>
|
|
|
246 |
return im_out,blr_out,pd.DataFrame(bounds),pd.DataFrame(bounds).iloc[:,1:]
|
247 |
|
248 |
with gr.Blocks() as robot:
|
249 |
+
gr.Markdown("""<h1><center>Translate Image to Image</center></h1><h4><center>EasyOCR and facebook/m2m100_1.2B</center></h4><h7><center>If you recieve other users images, please report it in the Community button</center></h7><h7><center>*translation may not be accurate</center></h7>""")
|
250 |
with gr.Accordion(label="Description",open=False):
|
251 |
with gr.Row():
|
252 |
gr.Markdown("""<p> Drop your image in the "Image to Translate" Box<br>
|