mgokg commited on
Commit
4eb5382
·
verified ·
1 Parent(s): 862cf10

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -26,7 +26,7 @@ def respond(message, history, model):
26
 
27
  # Render as Markdown chat log
28
  chat_md = "\n\n".join(
29
- [f"**🧑‍💻 User:** {u}\n\n**🤖 Assistant:** {a}" for u, a in history]
30
  )
31
 
32
  return chat_md, history, ""
@@ -74,8 +74,8 @@ body, .gradio-container {
74
  """
75
 
76
  with gr.Blocks() as demo:
77
- gr.Markdown("Puter AI x Python", elem_id="title")
78
- gr.Markdown("Nutze Puter-LLMs direkt in Python via LiteLLM.", elem_id="subtitle")
79
 
80
  with gr.Row():
81
  model = gr.Dropdown(
 
26
 
27
  # Render as Markdown chat log
28
  chat_md = "\n\n".join(
29
+ [f"** User:** {u}\n\n** Assistant:** {a}" for u, a in history]
30
  )
31
 
32
  return chat_md, history, ""
 
74
  """
75
 
76
  with gr.Blocks() as demo:
77
+ gr.Markdown("# puter.js in Python via litellm", elem_id="title")
78
+ ")
79
 
80
  with gr.Row():
81
  model = gr.Dropdown(