Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,14 @@ def customer_support_demo(user_input):
|
|
56 |
return response.messages[-1]["content"]
|
57 |
|
58 |
# Create the Gradio interface
|
59 |
-
iface = gr.Interface(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
|
61 |
# Launch the interface
|
62 |
iface.launch()
|
|
|
56 |
return response.messages[-1]["content"]
|
57 |
|
58 |
# Create the Gradio interface
|
59 |
+
iface = gr.Interface(
|
60 |
+
fn=customer_support_demo,
|
61 |
+
inputs="text",
|
62 |
+
outputs="text",
|
63 |
+
live=True,
|
64 |
+
title="Global Customer Support System",
|
65 |
+
description="This is a multi-agent system designed to provide global customer support in multiple languages. It detects the language of your input and directs you to the appropriate agent. If needed, the agents can delegate tasks to specialized agents, such as order verification.",
|
66 |
+
)
|
67 |
|
68 |
# Launch the interface
|
69 |
iface.launch()
|