Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ app = MyApp()
|
|
| 57 |
def respond(
|
| 58 |
message: str,
|
| 59 |
history: List[Tuple[str, str]],
|
| 60 |
-
system_message: str = "You are a knowledgeable consultant for development issue of
|
| 61 |
max_tokens: int = 150,
|
| 62 |
temperature: float = 0.7,
|
| 63 |
top_p: float = 0.9,
|
|
@@ -93,7 +93,7 @@ def respond(
|
|
| 93 |
demo = gr.Blocks()
|
| 94 |
|
| 95 |
with demo:
|
| 96 |
-
gr.Markdown("🌍 *Development issue of
|
| 97 |
gr.Markdown(
|
| 98 |
"‼Disclaimer: This chatbot is based on publicly available sustainability guidelines and practices. "
|
| 99 |
"We are not certified sustainability experts, and the use of this chatbot is at your own responsibility.‼"
|
|
@@ -112,7 +112,7 @@ with demo:
|
|
| 112 |
["What are the challenges in integrating culture into sustainable development policies?"]
|
| 113 |
|
| 114 |
],
|
| 115 |
-
title='Development issues of
|
| 116 |
)
|
| 117 |
|
| 118 |
if _name_ == "_main_":
|
|
|
|
| 57 |
def respond(
|
| 58 |
message: str,
|
| 59 |
history: List[Tuple[str, str]],
|
| 60 |
+
system_message: str = "You are a knowledgeable consultant for development issue of environmental culture installation and maintenance. You provide concise and accurate advice on sustainability practices, and you encourage environmentally friendly habits. Remember to greet the user warmly, ask relevant questions, and offer supportive and insightful responses.",
|
| 61 |
max_tokens: int = 150,
|
| 62 |
temperature: float = 0.7,
|
| 63 |
top_p: float = 0.9,
|
|
|
|
| 93 |
demo = gr.Blocks()
|
| 94 |
|
| 95 |
with demo:
|
| 96 |
+
gr.Markdown("🌍 *Development issue of environmental culture*")
|
| 97 |
gr.Markdown(
|
| 98 |
"‼Disclaimer: This chatbot is based on publicly available sustainability guidelines and practices. "
|
| 99 |
"We are not certified sustainability experts, and the use of this chatbot is at your own responsibility.‼"
|
|
|
|
| 112 |
["What are the challenges in integrating culture into sustainable development policies?"]
|
| 113 |
|
| 114 |
],
|
| 115 |
+
title='Development issues of environmental in culture 🌞'
|
| 116 |
)
|
| 117 |
|
| 118 |
if _name_ == "_main_":
|