Spaces:
Sleeping
Sleeping
reannajlee
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -108,13 +108,13 @@ def query_model(question):
|
|
108 |
|
109 |
# Define the welcome message and specific topics the chatbot can provide information about
|
110 |
welcome_message = """
|
111 |
-
#
|
112 |
|
113 |
## Your music enthusiast from the future!
|
114 |
"""
|
115 |
|
116 |
topics = """
|
117 |
-
|
118 |
Just tell me what genre and artist is in your playlist, and I can help you create an amazing title for it!
|
119 |
|
120 |
"""
|
@@ -127,9 +127,9 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
127 |
gr.Markdown(topics) # Show the topics on the left side
|
128 |
with gr.Row():
|
129 |
with gr.Column():
|
130 |
-
question = gr.Textbox(label="
|
131 |
-
answer = gr.Textbox(label="
|
132 |
-
submit_button = gr.Button("
|
133 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
134 |
|
135 |
|
|
|
108 |
|
109 |
# Define the welcome message and specific topics the chatbot can provide information about
|
110 |
welcome_message = """
|
111 |
+
# Fillira
|
112 |
|
113 |
## Your music enthusiast from the future!
|
114 |
"""
|
115 |
|
116 |
topics = """
|
117 |
+
Hey, it's Fillira! Need anything?
|
118 |
Just tell me what genre and artist is in your playlist, and I can help you create an amazing title for it!
|
119 |
|
120 |
"""
|
|
|
127 |
gr.Markdown(topics) # Show the topics on the left side
|
128 |
with gr.Row():
|
129 |
with gr.Column():
|
130 |
+
question = gr.Textbox(label="What's up?", placeholder="Talk to me...")
|
131 |
+
answer = gr.Textbox(label="Fillira", placeholder="", interactive=False, lines=10)
|
132 |
+
submit_button = gr.Button("Shoot!")
|
133 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
134 |
|
135 |
|