Ifeanyi commited on
Commit
f1fb0b3
·
verified ·
1 Parent(s): 1617623

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -38,9 +38,12 @@ 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.Sidebar():
42
- gr.Markdown("**PDF Summarizer**")
 
 
43
  api_key = gr.Text(label="Gemini API Key", placeholder="Enter your Google Gemini API key here")
 
44
  with gr.Row():
45
  pdf_input = gr.File(file_types=[".pdf"])
46
  summary_type = gr.Radio(["5 Bullet Points","10 Bullet Points", "Paragraph", "Sentence"],value = "5 Bullet Points", label="Select Summary Kind")
 
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(visible=False):
42
+ gr.HTML("<div style='text-align:center;overflow:hidden;'><h3>PDF Summarizer</h3></div>")
43
+ gr.HTML("<br>")
44
+ gr.HTML("<br>")
45
  api_key = gr.Text(label="Gemini API Key", placeholder="Enter your Google Gemini API key here")
46
+
47
  with gr.Row():
48
  pdf_input = gr.File(file_types=[".pdf"])
49
  summary_type = gr.Radio(["5 Bullet Points","10 Bullet Points", "Paragraph", "Sentence"],value = "5 Bullet Points", label="Select Summary Kind")