Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,8 +21,6 @@ llm = Llama(
|
|
21 |
def generate_sql_query(text_input_schema:str,text_input_question: str):
|
22 |
global pattern_counter
|
23 |
|
24 |
-
if not text:
|
25 |
-
return {"error": "not found text"}, None, None
|
26 |
try:
|
27 |
prompt = f"""<|system|>
|
28 |
{table_info}
|
|
|
21 |
def generate_sql_query(text_input_schema:str,text_input_question: str):
|
22 |
global pattern_counter
|
23 |
|
|
|
|
|
24 |
try:
|
25 |
prompt = f"""<|system|>
|
26 |
{table_info}
|