Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,6 +27,7 @@ class SQLPromptModel:
|
|
27 |
|
28 |
def text2sql_gemini(self, schema, user_prompt, inp_prompt=None):
|
29 |
# Convert table columns to string format
|
|
|
30 |
table_columns = ', '.join([f"{col[1]} {col[2]}" for col in schema])
|
31 |
|
32 |
# Create prompt for Gemini AI
|
|
|
27 |
|
28 |
def text2sql_gemini(self, schema, user_prompt, inp_prompt=None):
|
29 |
# Convert table columns to string format
|
30 |
+
print("Schema",schema)
|
31 |
table_columns = ', '.join([f"{col[1]} {col[2]}" for col in schema])
|
32 |
|
33 |
# Create prompt for Gemini AI
|