Spaces:
Sleeping
Sleeping
Updated theming in app.py
Browse files
app.py
CHANGED
|
@@ -97,24 +97,20 @@ def query_model(question):
|
|
| 97 |
|
| 98 |
# Define the welcome message and specific topics the chatbot can provide information about
|
| 99 |
welcome_message = """
|
| 100 |
-
#
|
| 101 |
|
| 102 |
-
## Your AI
|
| 103 |
"""
|
| 104 |
|
| 105 |
topics = """
|
| 106 |
### Feel Free to ask me anything from the topics below!
|
| 107 |
-
-
|
| 108 |
-
-
|
| 109 |
-
-
|
| 110 |
-
- Common strategies
|
| 111 |
-
- Chess terminology
|
| 112 |
-
- Famous games
|
| 113 |
-
- Chess tactics
|
| 114 |
"""
|
| 115 |
|
| 116 |
# Setup the Gradio Blocks interface with custom layout components
|
| 117 |
-
with gr.Blocks(theme='
|
| 118 |
gr.Markdown(welcome_message) # Display the formatted welcome message
|
| 119 |
with gr.Row():
|
| 120 |
with gr.Column():
|
|
|
|
| 97 |
|
| 98 |
# Define the welcome message and specific topics the chatbot can provide information about
|
| 99 |
welcome_message = """
|
| 100 |
+
# 🗑️ Welcome to RotBot!
|
| 101 |
|
| 102 |
+
## Your AI assistant for translating slang into standard English!
|
| 103 |
"""
|
| 104 |
|
| 105 |
topics = """
|
| 106 |
### Feel Free to ask me anything from the topics below!
|
| 107 |
+
- Translating slang sentences into standard English
|
| 108 |
+
- Defining slang into standard English
|
| 109 |
+
- Providing standard English synonyms for slang
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
"""
|
| 111 |
|
| 112 |
# Setup the Gradio Blocks interface with custom layout components
|
| 113 |
+
with gr.Blocks(theme='gradio/soft') as demo:
|
| 114 |
gr.Markdown(welcome_message) # Display the formatted welcome message
|
| 115 |
with gr.Row():
|
| 116 |
with gr.Column():
|