Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -114,13 +114,13 @@ with gr.Blocks(
|
|
114 |
) as demo:
|
115 |
gr.Markdown("<h1 style='text-align: center;'>Mistral OCR Demo</h1>")
|
116 |
gr.Markdown("<p style='text-align: center;'>Extract text and images from PDFs or images using Mistral's latest OCR model. Visit <a href='https://console.mistral.ai/'>Mistral AI Console</a> to manage your API key. You can also see markdown live.</p>")
|
117 |
-
gr.Markdown("<p style='text-align: center;'>Provide your Mistral API key below or
|
118 |
|
119 |
with gr.Row():
|
120 |
with gr.Column(scale=1):
|
121 |
api_key_input = gr.Textbox(
|
122 |
label="Mistral API Key",
|
123 |
-
placeholder="Paste your Mistral API key here
|
124 |
type="password",
|
125 |
lines=1
|
126 |
)
|
|
|
114 |
) as demo:
|
115 |
gr.Markdown("<h1 style='text-align: center;'>Mistral OCR Demo</h1>")
|
116 |
gr.Markdown("<p style='text-align: center;'>Extract text and images from PDFs or images using Mistral's latest OCR model. Visit <a href='https://console.mistral.ai/'>Mistral AI Console</a> to manage your API key. You can also see markdown live.</p>")
|
117 |
+
gr.Markdown("<p style='text-align: center;'>Provide your Mistral API key, below or create MISTRAL secret from space settings.</p>")
|
118 |
|
119 |
with gr.Row():
|
120 |
with gr.Column(scale=1):
|
121 |
api_key_input = gr.Textbox(
|
122 |
label="Mistral API Key",
|
123 |
+
placeholder="Paste your Mistral API key here)",
|
124 |
type="password",
|
125 |
lines=1
|
126 |
)
|