Spaces:
Sleeping
Sleeping
vidyasharma17
commited on
Commit
•
6295ba8
1
Parent(s):
e5d6ef6
Update app.py
Browse files
app.py
CHANGED
@@ -43,12 +43,14 @@ def chatbot_response(user_input):
|
|
43 |
# Define the Gradio interface
|
44 |
interface = gr.Interface(
|
45 |
fn=chatbot_response,
|
46 |
-
inputs=gr.Textbox(lines=2, placeholder="
|
47 |
-
outputs="
|
48 |
title="FinTech Chatbot",
|
49 |
-
description="
|
|
|
50 |
)
|
51 |
|
|
|
52 |
if __name__ == "__main__":
|
53 |
# Launch the Gradio app
|
54 |
interface.launch()
|
|
|
43 |
# Define the Gradio interface
|
44 |
interface = gr.Interface(
|
45 |
fn=chatbot_response,
|
46 |
+
inputs=gr.Textbox(lines=2, label="Your Question", placeholder="Type your fintech question here..."),
|
47 |
+
outputs=gr.Textbox(label="Chatbot Response"),
|
48 |
title="FinTech Chatbot",
|
49 |
+
description="Ask your questions related to financial technology services, and I'll assist you!",
|
50 |
+
theme="huggingface"
|
51 |
)
|
52 |
|
53 |
+
|
54 |
if __name__ == "__main__":
|
55 |
# Launch the Gradio app
|
56 |
interface.launch()
|