ajwthompson commited on
Commit
2a6c037
·
1 Parent(s): 82688c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def echo(name, request: gr.Request):
66
  def my_inference_function(name):
67
  return "Hello " + name + "!"
68
 
69
- gradio_interface = gr.Interface([chat,echo], inputs=['text',state], outputs=['text', state])
70
  gradio_logger = gr.Interface(echo, "textbox", "textbox").launch()
71
  #gradio_interface.launch(debug=True)
72
  demo = gr.Parallel(gradio_interface, gradio_logger).launch(debug=True)
 
66
  def my_inference_function(name):
67
  return "Hello " + name + "!"
68
 
69
+ gradio_interface = gr.Interface(chat, inputs=['text',state], outputs=['text', state])
70
  gradio_logger = gr.Interface(echo, "textbox", "textbox").launch()
71
  #gradio_interface.launch(debug=True)
72
  demo = gr.Parallel(gradio_interface, gradio_logger).launch(debug=True)