Update app.py
Browse files
app.py
CHANGED
|
@@ -126,7 +126,7 @@ with gr.Blocks(css=css,theme = gr.themes.Soft()) as demo:
|
|
| 126 |
|
| 127 |
with gr.Column():
|
| 128 |
pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="file")
|
| 129 |
-
prompt = gr.Textbox(label="Behaviour Prompt", placeholder="Reply to all questions as a rap / Reply to all questions in Hindi etc. ")
|
| 130 |
#repo_id = gr.Dropdown(label="LLM", choices=["google/flan-ul2", "OpenAssistant/oasst-sft-1-pythia-12b", "bigscience/bloomz"], value="google/flan-ul2")
|
| 131 |
with gr.Row():
|
| 132 |
langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
|
|
|
|
| 126 |
|
| 127 |
with gr.Column():
|
| 128 |
pdf_doc = gr.File(label="Load a pdf", file_types=['.pdf'], type="file")
|
| 129 |
+
prompt = gr.Textbox(label="Behaviour Prompt (optional)", placeholder="Reply to all questions as a rap / Reply to all questions in Hindi etc. ")
|
| 130 |
#repo_id = gr.Dropdown(label="LLM", choices=["google/flan-ul2", "OpenAssistant/oasst-sft-1-pythia-12b", "bigscience/bloomz"], value="google/flan-ul2")
|
| 131 |
with gr.Row():
|
| 132 |
langchain_status = gr.Textbox(label="Status", placeholder="", interactive=False)
|