Spaces:
Running
Running
Update app.py
Browse files
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")
|