Deselect all of the tools
Browse files- app.py +2 -4
- videos/tempfile.mp4 +2 -2
app.py
CHANGED
|
@@ -27,7 +27,7 @@ tmdb_bearer_token = os.environ["TMDB_BEARER_TOKEN"]
|
|
| 27 |
|
| 28 |
TOOLS_LIST = ['serpapi', 'wolfram-alpha', 'google-search', 'pal-math', 'pal-colored-objects', 'news-api', 'tmdb-api',
|
| 29 |
'open-meteo-api']
|
| 30 |
-
TOOLS_DEFAULT_LIST = [
|
| 31 |
BUG_FOUND_MSG = "Congratulations, you've found a bug in this application!"
|
| 32 |
AUTH_ERR_MSG = "Please paste your OpenAI key."
|
| 33 |
|
|
@@ -194,9 +194,7 @@ def update_foo(widget, state):
|
|
| 194 |
return state
|
| 195 |
|
| 196 |
|
| 197 |
-
|
| 198 |
-
|
| 199 |
-
with block:
|
| 200 |
llm_state = gr.State()
|
| 201 |
history_state = gr.State()
|
| 202 |
chain_state = gr.State()
|
|
|
|
| 27 |
|
| 28 |
TOOLS_LIST = ['serpapi', 'wolfram-alpha', 'google-search', 'pal-math', 'pal-colored-objects', 'news-api', 'tmdb-api',
|
| 29 |
'open-meteo-api']
|
| 30 |
+
TOOLS_DEFAULT_LIST = []
|
| 31 |
BUG_FOUND_MSG = "Congratulations, you've found a bug in this application!"
|
| 32 |
AUTH_ERR_MSG = "Please paste your OpenAI key."
|
| 33 |
|
|
|
|
| 194 |
return state
|
| 195 |
|
| 196 |
|
| 197 |
+
with gr.Blocks(css=".gradio-container {background-color: lightgray}") as block:
|
|
|
|
|
|
|
| 198 |
llm_state = gr.State()
|
| 199 |
history_state = gr.State()
|
| 200 |
chain_state = gr.State()
|
videos/tempfile.mp4
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3234c8b4072470a395be40003dfa12372b1746cbad52853be83da1cf4a775fe3
|
| 3 |
+
size 114137
|