Joe99 commited on
Commit
6fee847
1 Parent(s): 5cce228

change inputs and outputs

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,8 +43,8 @@ def chatbot(input_text):
43
  print("=====Done 3")
44
  iface = gr.Interface(
45
  fn=chatbot,
46
- inputs=gr.Textbox(),
47
- outputs=gr.Textbox(),
48
  live=False, #set false to avoid caching
49
  interpretation="chat",
50
  title="ChatFinance",
 
43
  print("=====Done 3")
44
  iface = gr.Interface(
45
  fn=chatbot,
46
+ inputs='text',
47
+ outputs='text',
48
  live=False, #set false to avoid caching
49
  interpretation="chat",
50
  title="ChatFinance",