Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -136,14 +136,18 @@ def respond(message, history):
|
|
| 136 |
print(response)
|
| 137 |
return response['choices'][0]['message']['content'].strip()
|
| 138 |
|
| 139 |
-
about_text = "
|
|
|
|
|
|
|
| 140 |
|
| 141 |
-
title = "
|
|
|
|
|
|
|
| 142 |
|
| 143 |
with gr.Blocks(theme='mgetz/Celeb_glitzy') as chatbot:
|
| 144 |
with gr.Row():
|
| 145 |
with gr.Column(scale=1):
|
| 146 |
-
gr.Markdown(title
|
| 147 |
gr.Image("Physics.jpg")
|
| 148 |
gr.Markdown(about_text)
|
| 149 |
|
|
|
|
| 136 |
print(response)
|
| 137 |
return response['choices'][0]['message']['content'].strip()
|
| 138 |
|
| 139 |
+
about_text = """
|
| 140 |
+
##Use this chatbot to help you with Physics
|
| 141 |
+
"""
|
| 142 |
|
| 143 |
+
title = """
|
| 144 |
+
# 🧬 Smarty-Pants Physics Chatbot 🧬
|
| 145 |
+
"""
|
| 146 |
|
| 147 |
with gr.Blocks(theme='mgetz/Celeb_glitzy') as chatbot:
|
| 148 |
with gr.Row():
|
| 149 |
with gr.Column(scale=1):
|
| 150 |
+
gr.Markdown(title)
|
| 151 |
gr.Image("Physics.jpg")
|
| 152 |
gr.Markdown(about_text)
|
| 153 |
|