avsolatorio commited on
Commit
9312f7f
·
1 Parent(s): c352a58

Update icons

Browse files

Signed-off-by: Aivin V. Solatorio <[email protected]>

Files changed (1) hide show
  1. mcp_client.py +5 -3
mcp_client.py CHANGED
@@ -299,7 +299,9 @@ def gradio_interface():
299
  gr.Markdown("# WDI MCP Client")
300
  # gr.Markdown("Connect to the WDI MCP server and chat with the assistant")
301
 
302
- with gr.Accordion("Connect to the WDI MCP server and chat with the assistant"):
 
 
303
  with gr.Row(equal_height=True):
304
  with gr.Column(scale=4):
305
  server_path = gr.Textbox(
@@ -317,7 +319,7 @@ def gradio_interface():
317
  height=600,
318
  type="messages",
319
  show_copy_button=True,
320
- avatar_images=("👤", "🤖"),
321
  )
322
 
323
  with gr.Row(equal_height=True):
@@ -342,4 +344,4 @@ if __name__ == "__main__":
342
  )
343
 
344
  interface = gradio_interface()
345
- interface.launch(debug=True)
 
299
  gr.Markdown("# WDI MCP Client")
300
  # gr.Markdown("Connect to the WDI MCP server and chat with the assistant")
301
 
302
+ with gr.Accordion(
303
+ "Connect to the WDI MCP server and chat with the assistant", open=False
304
+ ):
305
  with gr.Row(equal_height=True):
306
  with gr.Column(scale=4):
307
  server_path = gr.Textbox(
 
319
  height=600,
320
  type="messages",
321
  show_copy_button=True,
322
+ avatar_images=("img/small-user.png", "img/small-robot.png"),
323
  )
324
 
325
  with gr.Row(equal_height=True):
 
344
  )
345
 
346
  interface = gradio_interface()
347
+ interface.launch(server_name=os.getenv("SERVER_NAME", "127.0.0.1"), debug=True)