SoybeanMilk
commited on
Commit
•
146a1c2
1
Parent(s):
6f72a1d
Update app.py
Browse files
app.py
CHANGED
@@ -94,8 +94,13 @@ def main():
|
|
94 |
ocr_btn = gr.Button(value='OCR Extraction', variant="primary")
|
95 |
|
96 |
with gr.Row():
|
97 |
-
|
|
|
98 |
|
|
|
|
|
|
|
|
|
99 |
with gr.Column():
|
100 |
with gr.Row():
|
101 |
outputs_text = gr.Textbox(label="Extract content", lines=20)
|
|
|
94 |
ocr_btn = gr.Button(value='OCR Extraction', variant="primary")
|
95 |
|
96 |
with gr.Row():
|
97 |
+
# Use Markdown to display clickable URL
|
98 |
+
gr.Markdown("[Click here to get API key](https://makersuite.google.com/u/1/app/apikey)")
|
99 |
|
100 |
+
with gr.Row():
|
101 |
+
# Create a text input box for users to enter their API key
|
102 |
+
inputs_api_key = gr.Textbox(label="Please enter your API key here", type="password")
|
103 |
+
|
104 |
with gr.Column():
|
105 |
with gr.Row():
|
106 |
outputs_text = gr.Textbox(label="Extract content", lines=20)
|