Commit
·
cf0db0a
1
Parent(s):
9c4badc
Update app.py
Browse files
app.py
CHANGED
|
@@ -78,7 +78,7 @@ def bot(input_message: str, db_info="", temperature=0.1, top_p=0.9, top_k=0, rep
|
|
| 78 |
# Split the text by "|", and get the last element in the list which should be the final query
|
| 79 |
final_query = partial_text.split("|")[1].strip()
|
| 80 |
# Convert SQL to markdown (not required, but just to show how to use the markdown module)
|
| 81 |
-
final_query_markdown = "```sql\n{final_query}\n```"
|
| 82 |
return final_query_markdown
|
| 83 |
|
| 84 |
|
|
|
|
| 78 |
# Split the text by "|", and get the last element in the list which should be the final query
|
| 79 |
final_query = partial_text.split("|")[1].strip()
|
| 80 |
# Convert SQL to markdown (not required, but just to show how to use the markdown module)
|
| 81 |
+
final_query_markdown = f"```sql\n{final_query}\n```"
|
| 82 |
return final_query_markdown
|
| 83 |
|
| 84 |
|