jisaacso219 commited on
Commit
f16275e
·
verified ·
1 Parent(s): ff0e3f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -144,17 +144,14 @@ me = Me()
144
  with gr.Blocks(title="Jacob Isaacson Chatbot") as iface:
145
  with gr.Row():
146
  gr.Image("jacob.png", width=120, show_label=False)
147
- gr.Markdown("### Chat with Jacob Isaacson\nAsk about Jacob's background, skills, or career. \n🛡️ *Your chat will be logged for quality and improvement purposes.*")
148
 
149
  gr.ChatInterface(
150
  fn=me.chat_stream,
151
  chatbot=gr.Chatbot(show_copy_button=True),
152
  examples=["What is Jacob's experience with AI?", "Tell me about his recent projects."],
153
- retry_btn="🔁 Retry",
154
- clear_btn="🗑️ Clear",
155
- submit_btn="💬 Send",
156
  )
157
 
158
  if __name__ == "__main__":
159
  iface.launch()
160
-
 
144
  with gr.Blocks(title="Jacob Isaacson Chatbot") as iface:
145
  with gr.Row():
146
  gr.Image("jacob.png", width=120, show_label=False)
147
+ gr.Markdown("### Chat with Jacob Isaacson\nAsk about Jacob's background, skills, or projects. 🛡️ *Chat is logged.*")
148
 
149
  gr.ChatInterface(
150
  fn=me.chat_stream,
151
  chatbot=gr.Chatbot(show_copy_button=True),
152
  examples=["What is Jacob's experience with AI?", "Tell me about his recent projects."],
153
+ type="messages" # ✅ OpenAI-style message format
 
 
154
  )
155
 
156
  if __name__ == "__main__":
157
  iface.launch()