AEUPH commited on
Commit
b9a6a8b
·
1 Parent(s): cd574fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def print_session_data(data):
25
  iface = gr.Interface(
26
  fn=interact_with_server,
27
  inputs=gr.inputs.Textbox(),
28
- outputs=[gr.outputs.HTML(), gr.outputs.Number()], # Return both response text and number of messages
29
  capture_session=True # Automatically captures IP address and user agent
30
  )
31
 
 
25
  iface = gr.Interface(
26
  fn=interact_with_server,
27
  inputs=gr.inputs.Textbox(),
28
+ outputs=[gr.outputs.HTML(), gr.outputs.Label()], # Use Label for displaying the number of messages
29
  capture_session=True # Automatically captures IP address and user agent
30
  )
31