Ifeanyi commited on
Commit
fb7a309
·
verified ·
1 Parent(s): 2d23aae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,9 +38,9 @@ with gr.Blocks(
38
  fill_height=True
39
  ) as app:
40
  gr.HTML("<div style='text-align:center;overflow:hidden;'><h2>PDF Summarizer</h2></div>")
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
 
 
38
  fill_height=True
39
  ) as app:
40
  gr.HTML("<div style='text-align:center;overflow:hidden;'><h2>PDF Summarizer</h2></div>")
41
+ with gr.Sidebar():
 
42
  api_key = gr.Text(label="Gemini API Key", placeholder="Enter your Google Gemini API key here")
43
+ with gr.Row():
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