Chris4K commited on
Commit
e05a4e8
1 Parent(s): 1562d78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -308,7 +308,7 @@ for url in links:
308
  def simple(text:str):
309
  return text +" hhhmmm "
310
 
311
- app = gr.Chat(
312
  fn=get_response,
313
  #fn=simple,
314
  # inputs=["text"],
@@ -320,7 +320,7 @@ app = gr.Chat(
320
  undo_btn=None,
321
  clear_btn=None,
322
  #bubble_full_width=False,
323
- avatar_images=(None, (os.path.join(os.path.abspath(''), "avatar.png"))),
324
  )
325
 
326
  app.launch(debug=True, share=True)
 
308
  def simple(text:str):
309
  return text +" hhhmmm "
310
 
311
+ app = gr.ChatInterface(
312
  fn=get_response,
313
  #fn=simple,
314
  # inputs=["text"],
 
320
  undo_btn=None,
321
  clear_btn=None,
322
  #bubble_full_width=False,
323
+ #avatar_images=(None, (os.path.join(os.path.abspath(''), "avatar.png"))),
324
  )
325
 
326
  app.launch(debug=True, share=True)