Update app.py
Browse files
app.py
CHANGED
@@ -118,10 +118,14 @@ with gr.Blocks() as demo:
|
|
118 |
model_id = gr.Radio(["Zephyr-7b-Beta", "Llama-2-7b-chat"], value="Zephyr-7b-Beta",label="LLM Model")
|
119 |
with gr.Row():
|
120 |
mode = gr.Radio(['OITF Manuals', 'Operations Data'], value='Operations Data',label="QA mode")
|
121 |
-
|
122 |
-
|
123 |
-
with gr.Row():
|
124 |
None
|
|
|
|
|
|
|
|
|
|
|
125 |
with gr.Row(): # type: ignore
|
126 |
submit_btn = gr.Button(
|
127 |
'Submit',
|
|
|
118 |
model_id = gr.Radio(["Zephyr-7b-Beta", "Llama-2-7b-chat"], value="Zephyr-7b-Beta",label="LLM Model")
|
119 |
with gr.Row():
|
120 |
mode = gr.Radio(['OITF Manuals', 'Operations Data'], value='Operations Data',label="QA mode")
|
121 |
+
|
122 |
+
with gr.Column(scale=8):
|
|
|
123 |
None
|
124 |
+
# with gr.Row():
|
125 |
+
# file_output = gr.File(label="Uploaded Documents",show_label=True)
|
126 |
+
# with gr.Row():
|
127 |
+
# upload_button = gr.UploadButton("Click to upload files", file_types=[".pdf", ".csv", ".xlsx", ".txt"], file_count="multiple")
|
128 |
+
# upload_button.upload(upload_files, upload_button, file_output)
|
129 |
with gr.Row(): # type: ignore
|
130 |
submit_btn = gr.Button(
|
131 |
'Submit',
|