Spaces:
Running
Running
Ju Huo
commited on
Commit
·
8b9372d
1
Parent(s):
116d78a
fix f-string style for python <3.12
Browse files
app.py
CHANGED
@@ -328,7 +328,7 @@ with gr.Blocks(theme=theme, css_paths="styles.css") as demo:
|
|
328 |
chatbot = gr.Chatbot(
|
329 |
type="messages",
|
330 |
height=300,
|
331 |
-
value=LANGUAGE_CONFIG["en"]["bot_default"] + [{"role":"assistant", "content": f"Running `{os.getenv(
|
332 |
group_consecutive_messages=False,
|
333 |
show_copy_all_button=True,
|
334 |
show_share_button=True,
|
|
|
328 |
chatbot = gr.Chatbot(
|
329 |
type="messages",
|
330 |
height=300,
|
331 |
+
value=LANGUAGE_CONFIG["en"]["bot_default"] + [{"role":"assistant", "content": f"Running `{os.getenv('API_MODEL')}` @ {os.getenv('API_URL')} \n Responsiveness subjects to API provider situation","metadata": {"title": f"API INFO"},}],
|
332 |
group_consecutive_messages=False,
|
333 |
show_copy_all_button=True,
|
334 |
show_share_button=True,
|