Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -115,7 +115,7 @@ welcome_message = """
|
|
115 |
|
116 |
topics = """
|
117 |
### Feel free to ask about of the questions below:
|
118 |
-
- How
|
119 |
- Ask me how much work you should do before a break
|
120 |
- Ask me to create a schedule
|
121 |
"""
|
@@ -128,8 +128,8 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
128 |
gr.Markdown(topics) # Show the topics on the left side
|
129 |
with gr.Row():
|
130 |
with gr.Column():
|
131 |
-
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
132 |
-
answer = gr.Textbox(label="
|
133 |
submit_button = gr.Button("Submit")
|
134 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
135 |
|
|
|
115 |
|
116 |
topics = """
|
117 |
### Feel free to ask about of the questions below:
|
118 |
+
- How does Timify work?
|
119 |
- Ask me how much work you should do before a break
|
120 |
- Ask me to create a schedule
|
121 |
"""
|
|
|
128 |
gr.Markdown(topics) # Show the topics on the left side
|
129 |
with gr.Row():
|
130 |
with gr.Column():
|
131 |
+
question = gr.Textbox(label="Your question", placeholder="What do you want to ask Timify about?")
|
132 |
+
answer = gr.Textbox(label="Timify Response", placeholder="Timify will respond here...", interactive=False, lines=10)
|
133 |
submit_button = gr.Button("Submit")
|
134 |
submit_button.click(fn=query_model, inputs=question, outputs=answer)
|
135 |
|