Spaces:
Paused
Paused
Update app.py
Browse files
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.
|
| 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 |
|