on1onmangoes commited on
Commit
bd9d8d1
·
verified ·
1 Parent(s): c7e5683

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -150,7 +150,7 @@ with gr.Blocks(css=CSS) as demo:
150
  chatbot=chatbot,
151
  additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False, render=False),
152
  additional_inputs=[
153
- gr.Dropdown(['rosariarossi','bianchifiordaliso','lorenzoverdi'],value="rosariarossi",label="Select Client", render=False,),
154
  gr.Textbox(
155
  value="You are an expert assistant",
156
  label="System Prompt",
@@ -228,7 +228,7 @@ with gr.Blocks(css=CSS) as demo:
228
 
229
  with gr.Tab("Process PDF"):
230
  pdf_input = gr.File(label="Upload PDF File")
231
- select_client_dropdown = gr.Dropdown(client_name, value="rosariarossi", label="Select Client")
232
  pdf_output = gr.Textbox(label="PDF Result", interactive=False)
233
 
234
  pdf_button = gr.Button("Process PDF")
 
150
  chatbot=chatbot,
151
  additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False, render=False),
152
  additional_inputs=[
153
+ gr.Dropdown(['rosariarossi','bianchifiordaliso','lorenzoverdi'],value="rosariarossi",label="Select Client", render=False,allow_custom_value=True),
154
  gr.Textbox(
155
  value="You are an expert assistant",
156
  label="System Prompt",
 
228
 
229
  with gr.Tab("Process PDF"):
230
  pdf_input = gr.File(label="Upload PDF File")
231
+ select_client_dropdown = gr.Dropdown(client_name, value="rosariarossi", label="Select or Type Client", allow_custom_value=True)
232
  pdf_output = gr.Textbox(label="PDF Result", interactive=False)
233
 
234
  pdf_button = gr.Button("Process PDF")