themissingCRAM
commited on
Commit
·
e1a03f2
1
Parent(s):
b7b7b9c
max steps increased
Browse files
app.py
CHANGED
@@ -21,6 +21,8 @@ from dotenv import load_dotenv
|
|
21 |
engine = create_engine("sqlite:///:memory:")
|
22 |
load_dotenv()
|
23 |
|
|
|
|
|
24 |
|
25 |
@spaces.GPU
|
26 |
def dummy():
|
@@ -102,8 +104,7 @@ if __name__ == "__main__":
|
|
102 |
# You are a text to sql converter
|
103 |
# """,
|
104 |
model=model,
|
105 |
-
max_steps=
|
106 |
-
verbosity_level=
|
107 |
)
|
108 |
GradioUI(agent).launch()
|
109 |
-
# What is the average each customer paid? Create a sql statement and invoke your sql_engine tool
|
|
|
21 |
engine = create_engine("sqlite:///:memory:")
|
22 |
load_dotenv()
|
23 |
|
24 |
+
# What is the average each customer paid? Create a sql statement and invoke your sql_engine tool
|
25 |
+
|
26 |
|
27 |
@spaces.GPU
|
28 |
def dummy():
|
|
|
104 |
# You are a text to sql converter
|
105 |
# """,
|
106 |
model=model,
|
107 |
+
max_steps=7,
|
108 |
+
verbosity_level=3,
|
109 |
)
|
110 |
GradioUI(agent).launch()
|
|