Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,6 @@ client = Client("https://tonic1-tulu.hf.space/--replicas/x4pxd/")
|
|
48 |
# chatiface.send(reponse_content,user=sender.name,resend=False)
|
49 |
|
50 |
# Define a panel Row for OpenAI settings.
|
51 |
-
openai_row = pn.Row(txt_model, pwd_openai_key, pwd_openai_url)
|
52 |
|
53 |
def check_yi_mode(event):
|
54 |
# Make openai_row invisible when local YI Mode is enabled and vice versa.
|
@@ -88,6 +87,7 @@ pwd_aoai_url = PasswordInput(
|
|
88 |
placeholder="Enter your Azure OpenAI Base Url here...",
|
89 |
sizing_mode="stretch_width",
|
90 |
)
|
|
|
91 |
file_cfg = pn.widgets.FileInput(filename="OAI_CONFIG_LIST", sizing_mode="stretch_width")
|
92 |
template.main.append(
|
93 |
pn.Column(
|
|
|
48 |
# chatiface.send(reponse_content,user=sender.name,resend=False)
|
49 |
|
50 |
# Define a panel Row for OpenAI settings.
|
|
|
51 |
|
52 |
def check_yi_mode(event):
|
53 |
# Make openai_row invisible when local YI Mode is enabled and vice versa.
|
|
|
87 |
placeholder="Enter your Azure OpenAI Base Url here...",
|
88 |
sizing_mode="stretch_width",
|
89 |
)
|
90 |
+
openai_row = pn.Row(txt_model, pwd_openai_key, pwd_openai_url)
|
91 |
file_cfg = pn.widgets.FileInput(filename="OAI_CONFIG_LIST", sizing_mode="stretch_width")
|
92 |
template.main.append(
|
93 |
pn.Column(
|