Ifeanyi commited on
Commit
2189364
·
verified ·
1 Parent(s): 8c098e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,7 +37,7 @@ with gr.Blocks(
37
  analytics_enabled=True,
38
  fill_height=True
39
  ) as app:
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")
@@ -51,7 +51,7 @@ with gr.Blocks(
51
 
52
  with gr.Column():
53
  with gr.Row():
54
- gr.Markdown("<center><h2>Summary Output</h2></center>")
55
  out = gr.Markdown()
56
 
57
  btn.click(fn=pdfSummarizer, inputs=[api_key, pdf_input, summary_type], outputs=out)
 
37
  analytics_enabled=True,
38
  fill_height=True
39
  ) as app:
40
+ gr.HTML("<div style='text-align:center;'><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")
 
51
 
52
  with gr.Column():
53
  with gr.Row():
54
+ gr.HTML("<div style='text-align:center;'><h2>Summary Output</h2></div>")
55
  out = gr.Markdown()
56
 
57
  btn.click(fn=pdfSummarizer, inputs=[api_key, pdf_input, summary_type], outputs=out)