juniorjukeko commited on
Commit
27e64f2
·
1 Parent(s): 990b17a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -140,7 +140,7 @@ def main():
140
  gr.HTML(title)
141
  with gr.Tab("Main"):
142
  with gr.Column():
143
- pdf_doc = gr.File(label="Uploaded PDF:", file_types=['.pdf'], type="file")
144
  API_KEY = gr.Textbox(label="OpenAI API Key:", lines=1, type="password")
145
  summarize_button = gr.Button(value="Summarize!")
146
  summarized_text = gr.Textbox(label="Summary", lines=10, show_copy_button=True)
 
140
  gr.HTML(title)
141
  with gr.Tab("Main"):
142
  with gr.Column():
143
+ pdf_doc = gr.File(label="Uploaded PDF:", file_types=['.pdf'])
144
  API_KEY = gr.Textbox(label="OpenAI API Key:", lines=1, type="password")
145
  summarize_button = gr.Button(value="Summarize!")
146
  summarized_text = gr.Textbox(label="Summary", lines=10, show_copy_button=True)