Spaces:
Sleeping
Sleeping
created row
Browse files
app.py
CHANGED
|
@@ -137,16 +137,16 @@ def respond(message,history):
|
|
| 137 |
return response['choices'][0]['message']['content'].strip()
|
| 138 |
|
| 139 |
with gr.Blocks(theme= theme) as chatbot:
|
| 140 |
-
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
-
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
#defining my chatbot so user can interact, see their conversation and send new messages
|
| 151 |
|
| 152 |
|
|
|
|
| 137 |
return response['choices'][0]['message']['content'].strip()
|
| 138 |
|
| 139 |
with gr.Blocks(theme= theme) as chatbot:
|
| 140 |
+
with gr.Row():
|
| 141 |
+
with gr.Column(scale= 1):
|
| 142 |
+
gr.Image("Aloe_the_Turtle.png")
|
| 143 |
+
with gr.Column(scale= 3):
|
| 144 |
+
gr.ChatInterface(
|
| 145 |
+
respond,
|
| 146 |
+
title="Your Personal Skin Chatbot!",
|
| 147 |
+
description= "Welcome, my name is Aloe the Turtle and I am here to help you address any dermatology related questions you may have on topics such as Skin Cancer, Acne, Excema, and so much more. Just remember, while I have comprehensive knowledge on skin concerns, I am not a medical professional!",
|
| 148 |
+
type='messages',
|
| 149 |
+
theme= theme)
|
| 150 |
#defining my chatbot so user can interact, see their conversation and send new messages
|
| 151 |
|
| 152 |
|