Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ with gr.Blocks(css=css,theme=gr.themes.Monochrome()) as demo:
|
|
112 |
with gr.Column():
|
113 |
openai_key = gr.Textbox(label="Your GPT-4 OpenAI API key", type="password")
|
114 |
pdf_doc = gr.File(label="Load a pdf",file_types=['.pdf'],type='file')
|
115 |
-
relevant_pages = gr.Textbox(label="*Optional - List comma separated page numbers to load or leave
|
116 |
|
117 |
with gr.Row():
|
118 |
status = gr.Textbox(label="Status", placeholder="", interactive=False)
|
|
|
112 |
with gr.Column():
|
113 |
openai_key = gr.Textbox(label="Your GPT-4 OpenAI API key", type="password")
|
114 |
pdf_doc = gr.File(label="Load a pdf",file_types=['.pdf'],type='file')
|
115 |
+
relevant_pages = gr.Textbox(label="*Optional - List comma separated page numbers to load or leave this field blank to use the entire PDF")
|
116 |
|
117 |
with gr.Row():
|
118 |
status = gr.Textbox(label="Status", placeholder="", interactive=False)
|