dkolarova commited on
Commit
bf92a82
·
verified ·
1 Parent(s): 82af58d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -9,14 +9,12 @@ def respond(
9
  system_message,
10
  ):
11
 
12
-
13
  agent = Agent()
14
  agent.add_tool(convert_currency)
15
 
16
  # message = "I am traveling to Japan from Serbia, I have 1500 of local currency, how much of Japaese currency will I be able to get?"
17
 
18
  plan = agent.execute(message)
19
- print(plan)
20
 
21
  return plan
22
 
@@ -26,9 +24,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
26
  """
27
  demo = gr.ChatInterface(
28
  respond,
29
- additional_inputs=[
30
- gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
31
- ],
32
  )
33
 
34
 
 
9
  system_message,
10
  ):
11
 
 
12
  agent = Agent()
13
  agent.add_tool(convert_currency)
14
 
15
  # message = "I am traveling to Japan from Serbia, I have 1500 of local currency, how much of Japaese currency will I be able to get?"
16
 
17
  plan = agent.execute(message)
 
18
 
19
  return plan
20
 
 
24
  """
25
  demo = gr.ChatInterface(
26
  respond,
27
+ additional_inputs=[],
 
 
28
  )
29
 
30