vilarin commited on
Commit
1c1ffc4
1 Parent(s): 5c72391

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -112,9 +112,9 @@ def stream_chat(
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,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,