Spaces:
Runtime error
Runtime error
Denver Citizen9
commited on
Commit
·
bffccd6
1
Parent(s):
d701c7d
updated - how big of an example?
Browse files
app.py
CHANGED
@@ -2819,7 +2819,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
2819 |
with gr.Group():
|
2820 |
#openAI_key = os.getenv('my_openAI_key')
|
2821 |
gr.Markdown('Step 1: Use provided example, or ask PP-OCRv3 to read the text from your mail: https://www.paddlepaddle.org.cn/hub/scene/ocr')
|
2822 |
-
question = gr.Textbox(label='Step 2: The PP-OCRv3 JSON for your document goes here', default=default_example)
|
2823 |
#file = gr.File(label='Upload a sample piece of mail in PDF form', file_types=['.pdf'])
|
2824 |
#gr.Markdown("<center>* * * OR * * *</center>")
|
2825 |
#url = gr.Textbox(label='Alternate Approach: If more convenient, you can instead provide a link for your file here')
|
|
|
2819 |
with gr.Group():
|
2820 |
#openAI_key = os.getenv('my_openAI_key')
|
2821 |
gr.Markdown('Step 1: Use provided example, or ask PP-OCRv3 to read the text from your mail: https://www.paddlepaddle.org.cn/hub/scene/ocr')
|
2822 |
+
question = gr.Textbox(label='Step 2: The PP-OCRv3 JSON for your document goes here', default=default_example)
|
2823 |
#file = gr.File(label='Upload a sample piece of mail in PDF form', file_types=['.pdf'])
|
2824 |
#gr.Markdown("<center>* * * OR * * *</center>")
|
2825 |
#url = gr.Textbox(label='Alternate Approach: If more convenient, you can instead provide a link for your file here')
|