shukdevdatta123 commited on
Commit
0f3cfeb
Β·
verified Β·
1 Parent(s): 00d8689

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -170,15 +170,15 @@ with gr.Blocks(css=css, title="PDF Summarizer with Groq AI") as demo:
170
  api_key_input = gr.Textbox(
171
  label="Groq API Key",
172
  placeholder="Enter your Groq API key here...",
173
- type="password",
174
- info="Your API key is not stored and only used for this session"
175
  )
 
176
 
177
  pdf_file_input = gr.File(
178
  label="Upload PDF Document",
179
- file_types=[".pdf"],
180
- info="Upload any PDF file to summarize"
181
  )
 
182
 
183
  with gr.Row():
184
  summarize_btn = gr.Button("πŸ“‹ Generate Summary", variant="primary", size="lg")
 
170
  api_key_input = gr.Textbox(
171
  label="Groq API Key",
172
  placeholder="Enter your Groq API key here...",
173
+ type="password"
 
174
  )
175
+ gr.Markdown("*Your API key is not stored and only used for this session*")
176
 
177
  pdf_file_input = gr.File(
178
  label="Upload PDF Document",
179
+ file_types=[".pdf"]
 
180
  )
181
+ gr.Markdown("*Upload any PDF file to summarize*")
182
 
183
  with gr.Row():
184
  summarize_btn = gr.Button("πŸ“‹ Generate Summary", variant="primary", size="lg")