arjunanand13 commited on
Commit
236722a
·
verified ·
1 Parent(s): 2fb8b13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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