merterbak commited on
Commit
23071f9
·
verified ·
1 Parent(s): 969aa26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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 set the MISTRAL as 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 (or use MISTRAL env variable)",
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
  )