applemuncy commited on
Commit
b0f55dd
·
verified ·
1 Parent(s): 93ad1a0

add theme Glass

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -18,13 +18,16 @@ try:
18
 
19
  model = InferenceClientModel()
20
  agent = CodeAgent(tools=[*tools], model=model)
21
-
 
 
22
  demo = gr.ChatInterface(
23
  fn=lambda message, history: str(agent.run(message)),
24
  type="messages",
25
  examples=["Prime factorization of 68"],
26
  title="Agent with MCP Tools",
27
  description="This is a simple agent that uses MCP tools to answer questions.",
 
28
  )
29
 
30
  demo.launch()
 
18
 
19
  model = InferenceClientModel()
20
  agent = CodeAgent(tools=[*tools], model=model)
21
+
22
+ My_theme = gr.themes.Glass()
23
+
24
  demo = gr.ChatInterface(
25
  fn=lambda message, history: str(agent.run(message)),
26
  type="messages",
27
  examples=["Prime factorization of 68"],
28
  title="Agent with MCP Tools",
29
  description="This is a simple agent that uses MCP tools to answer questions.",
30
+ theme = my_theme,
31
  )
32
 
33
  demo.launch()