Update app.py
Browse files
app.py
CHANGED
|
@@ -131,13 +131,13 @@ books = """
|
|
| 131 |
- Of Mice and Men
|
| 132 |
- To Kill a Mockingbird
|
| 133 |
- Romeo and Juliet
|
| 134 |
-
"""
|
| 135 |
-
books2 = """
|
| 136 |
-
###
|
| 137 |
- The Catcher in the Rye
|
| 138 |
- Pride and Prejudice
|
| 139 |
- Lord of the Flies
|
| 140 |
- Hamlet
|
|
|
|
|
|
|
|
|
|
| 141 |
"""
|
| 142 |
|
| 143 |
# Setup the Gradio Blocks interface with custom layout components
|
|
@@ -145,9 +145,9 @@ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
|
| 145 |
gr.Markdown(welcome_message) # Display the formatted welcome message
|
| 146 |
with gr.Row():
|
| 147 |
# with gr.Column():
|
| 148 |
-
gr.Markdown(
|
| 149 |
-
gr.Markdown(
|
| 150 |
-
gr.Markdown(books2)
|
| 151 |
with gr.Row():
|
| 152 |
with gr.Column():
|
| 153 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|
|
|
|
| 131 |
- Of Mice and Men
|
| 132 |
- To Kill a Mockingbird
|
| 133 |
- Romeo and Juliet
|
|
|
|
|
|
|
|
|
|
| 134 |
- The Catcher in the Rye
|
| 135 |
- Pride and Prejudice
|
| 136 |
- Lord of the Flies
|
| 137 |
- Hamlet
|
| 138 |
+
"""
|
| 139 |
+
books2 = """
|
| 140 |
+
|
| 141 |
"""
|
| 142 |
|
| 143 |
# Setup the Gradio Blocks interface with custom layout components
|
|
|
|
| 145 |
gr.Markdown(welcome_message) # Display the formatted welcome message
|
| 146 |
with gr.Row():
|
| 147 |
# with gr.Column():
|
| 148 |
+
gr.Markdown(books) # Show the topics on the left side
|
| 149 |
+
gr.Markdown(topics)
|
| 150 |
+
# gr.Markdown(books2)
|
| 151 |
with gr.Row():
|
| 152 |
with gr.Column():
|
| 153 |
question = gr.Textbox(label="Your question", placeholder="What do you want to ask about?")
|