Update app.py
Browse files
app.py
CHANGED
|
@@ -182,9 +182,17 @@ Instructions:
|
|
| 182 |
"""
|
| 183 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
| 184 |
"""
|
| 185 |
-
|
| 186 |
-
|
| 187 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 188 |
|
| 189 |
|
| 190 |
if __name__ == "__main__":
|
|
|
|
| 182 |
"""
|
| 183 |
For information on how to customize the ChatInterface, peruse the gradio docs: https://www.gradio.app/docs/chatinterface
|
| 184 |
"""
|
| 185 |
+
with gr.Blocks() as demo:
|
| 186 |
+
gr.Markdown("""
|
| 187 |
+
# League of Legends Lore Chatbot
|
| 188 |
+
Welcome to the **LoL Lore Chatbot**! 🏆
|
| 189 |
+
Here, you can ask questions about League of Legends champions and their stories.
|
| 190 |
+
|
| 191 |
+
**Example Question:**
|
| 192 |
+
*Why does Kayn have different forms?*
|
| 193 |
+
""")
|
| 194 |
+
|
| 195 |
+
chat = gr.ChatInterface(respond)
|
| 196 |
|
| 197 |
|
| 198 |
if __name__ == "__main__":
|