Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -44,6 +44,12 @@ def chatbot(user_input):
|
|
44 |
reply = generate_reply(logic)
|
45 |
return reply
|
46 |
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
|
49 |
|
|
|
44 |
reply = generate_reply(logic)
|
45 |
return reply
|
46 |
|
47 |
+
iface = gr.Interface(fn=chatbot,
|
48 |
+
inputs=gr.Textbox(lines=2, placeholder="Type your message..."),
|
49 |
+
outputs="text",
|
50 |
+
title="Three-Agent Hugging Face Chatbot",
|
51 |
+
description="Intent detection + domain logic + natural generation")
|
52 |
+
|
53 |
+
iface.launch()
|
54 |
|
55 |
|