Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -121,18 +121,7 @@ gr.ChatInterface(
|
|
121 |
chatbot=gr.Chatbot(height=350),
|
122 |
textbox=gr.Textbox(placeholder="Ask anything", container=False, scale=7),
|
123 |
title="Python Coding Assistant",
|
124 |
-
description=(
|
125 |
-
"<p>The assistant can <b>generate, explain, fix, optimize,</b> and <b>document code, "
|
126 |
-
"create unit test cases,</b> and <b>answer general coding-related questions.</b> "
|
127 |
-
"It can also <b>execute code</b>. "
|
128 |
-
"The assistant has access to tools, including a code interpreter and custom function calling: "
|
129 |
-
"a <b>today tool</b> (to get current date), "
|
130 |
-
"a <b><a href='https://pypi.org/project/yfinance/'>yfinance</a> download tool</b> (to get stock data), "
|
131 |
-
"and a <b><a href='https://tavily.com/'>tavily</a> search tool</b> (to perform web search). "
|
132 |
-
"The features are showcased in the examples below.</p>"
|
133 |
-
"<p>The app uses the asynchronous stateful <b>OpenAI Assistants API</b> (Python SDK). For examples of the synchronous stateless <b>OpenAI "
|
134 |
-
"Chat Completion API</b> (REST API) see this <a href='https://www.postman.com/bstraehle/workspace/generative-ai-llm-rest-apis/collection/7643177-b1b59a8b-824a-4af2-8675-661ad26aa745'>Postman collection</a>.</p>"
|
135 |
-
),
|
136 |
clear_btn="Clear",
|
137 |
retry_btn=None,
|
138 |
undo_btn=None,
|
|
|
121 |
chatbot=gr.Chatbot(height=350),
|
122 |
textbox=gr.Textbox(placeholder="Ask anything", container=False, scale=7),
|
123 |
title="Python Coding Assistant",
|
124 |
+
description=os.environ.get("DESCRIPTION"),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
clear_btn="Clear",
|
126 |
retry_btn=None,
|
127 |
undo_btn=None,
|