Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -112,9 +112,9 @@ def stream_chat(
|
|
112 |
|
113 |
|
114 |
tools_schema = """function_params = {
|
115 |
-
name
|
116 |
-
description
|
117 |
-
parameters
|
118 |
"type": "object",
|
119 |
"properties": {
|
120 |
"location": {
|
@@ -152,6 +152,7 @@ with gr.Blocks(theme="citrus", css=CSS) as demo:
|
|
152 |
gr.Textbox(
|
153 |
value = tools_schema,
|
154 |
label = "Tools schema",
|
|
|
155 |
),
|
156 |
gr.Slider(
|
157 |
minimum=0,
|
|
|
112 |
|
113 |
|
114 |
tools_schema = """function_params = {
|
115 |
+
"name": "get_current_weather",
|
116 |
+
"description": "Get the current weather",
|
117 |
+
"parameters": {
|
118 |
"type": "object",
|
119 |
"properties": {
|
120 |
"location": {
|
|
|
152 |
gr.Textbox(
|
153 |
value = tools_schema,
|
154 |
label = "Tools schema",
|
155 |
+
render=False,
|
156 |
),
|
157 |
gr.Slider(
|
158 |
minimum=0,
|