Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -40,8 +40,8 @@ with gr.Blocks(
|
|
40 |
gr.Markdown("<center><h2>PDF Summarizer</h2></center>")
|
41 |
with gr.Row():
|
42 |
|
43 |
-
api_key = gr.Text(label="Gemini API Key", placeholder="Enter your Google Gemini API key here")
|
44 |
-
pdf_input = gr.File(file_types=[".pdf"])
|
45 |
summary_type = gr.Radio(["5 Bullet Points","10 Bullet Points", "Paragraph", "Sentence"],value = "5 Bullet Points", label="Select Summary Kind")
|
46 |
|
47 |
with gr.Column():
|
|
|
40 |
gr.Markdown("<center><h2>PDF Summarizer</h2></center>")
|
41 |
with gr.Row():
|
42 |
|
43 |
+
api_key = gr.Text(label="Gemini API Key", placeholder="Enter your Google Gemini API key here")
|
44 |
+
pdf_input = gr.File(file_types=[".pdf"])
|
45 |
summary_type = gr.Radio(["5 Bullet Points","10 Bullet Points", "Paragraph", "Sentence"],value = "5 Bullet Points", label="Select Summary Kind")
|
46 |
|
47 |
with gr.Column():
|