mirror of
https://github.com/katanemo/plano.git
synced 2026-04-28 18:36:34 +02:00
rename envoyfilter => arch (#91)
* rename envoyfilter => arch * fix more files * more fixes * more renames
This commit is contained in:
parent
7168b14ed3
commit
ea86f73605
33 changed files with 91 additions and 99 deletions
|
|
@ -22,9 +22,9 @@ def predict(message, history):
|
|||
|
||||
# Custom headers
|
||||
custom_headers = {
|
||||
'x-bolt-openai-api-key': f"{OPENAI_API_KEY}",
|
||||
'x-bolt-mistral-api-key': f"{MISTRAL_API_KEY}",
|
||||
'x-bolt-deterministic-provider': 'openai',
|
||||
'x-arch-openai-api-key': f"{OPENAI_API_KEY}",
|
||||
'x-arch-mistral-api-key': f"{MISTRAL_API_KEY}",
|
||||
'x-arch-deterministic-provider': 'openai',
|
||||
}
|
||||
|
||||
try:
|
||||
|
|
@ -53,7 +53,7 @@ def predict(message, history):
|
|||
|
||||
with gr.Blocks(fill_height=True, css="footer {visibility: hidden}") as demo:
|
||||
print("Starting Demo...")
|
||||
chatbot = gr.Chatbot(label="Bolt Chatbot", scale=1)
|
||||
chatbot = gr.Chatbot(label="Arch Chatbot", scale=1)
|
||||
state = gr.State([])
|
||||
with gr.Row():
|
||||
txt = gr.Textbox(show_label=False, placeholder="Enter text and press enter", scale=1, autofocus=True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue