atamagnini commited on
Commit
ca49bd4
·
verified ·
1 Parent(s): 27358e6

Additional configurations

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -58,6 +58,10 @@ def respond(
58
  response += token
59
  yield response
60
 
 
 
 
 
61
  """
62
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
63
  """
 
58
  response += token
59
  yield response
60
 
61
+ # Define a dummy function to handle button clicks
62
+ def on_button_click():
63
+ return "Button was clicked!"
64
+
65
  """
66
  For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
67
  """