Spaces:
Runtime error
Runtime error
on1onmangoes
commited on
Commit
•
f460321
1
Parent(s):
bd9d8d1
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ client = Client("on1onmangoes/CNIHUB101324v10", hf_token=HF_TOKEN)
|
|
11 |
# Update the conversation history within the function.
|
12 |
# Return the updated history along with any other required outputs.
|
13 |
|
14 |
-
client_name = ['rosariarossi','bianchifiordaliso','lorenzoverdi', 'quarto4', 'quinto5', 'secondo6', 'sesto6', 'settimo7','ottavo8','nono9']
|
15 |
|
16 |
|
17 |
|
@@ -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(
|
154 |
gr.Textbox(
|
155 |
value="You are an expert assistant",
|
156 |
label="System Prompt",
|
|
|
11 |
# Update the conversation history within the function.
|
12 |
# Return the updated history along with any other required outputs.
|
13 |
|
14 |
+
client_name = ['rosariarossi','bianchifiordaliso','lorenzoverdi','lucia', 'quarto4', 'quinto5', 'secondo6', 'sesto6', 'settimo7','ottavo8','nono9']
|
15 |
|
16 |
|
17 |
|
|
|
150 |
chatbot=chatbot,
|
151 |
additional_inputs_accordion=gr.Accordion(label="⚙️ Parameters", open=False, render=False),
|
152 |
additional_inputs=[
|
153 |
+
gr.Dropdown(client_name,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",
|