whoami02 commited on
Commit
2701ca2
·
verified ·
1 Parent(s): e83c022

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
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
- with gr.Row():
122
- None
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',