nikravan commited on
Commit
58d23d0
1 Parent(s): ee33aab

change prompt text

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -9,13 +9,9 @@ HF_TOKEN = "Bloom_Token"
9
  headers = {"Authorization": f"Bearer {HF_TOKEN}"}
10
 
11
 
12
- def sql_generate(prompt, input_prompt_sql ):
13
 
14
- print(f"*****Inside SQL_generate - Prompt is :{prompt}")
15
- print(f"length of input_prompt_sql is {len(input_prompt_sql)}")
16
- print(f"length of prompt is {len(prompt)}")
17
- if len(prompt) == 0:
18
- prompt = input_prompt_sql
19
 
20
  json_ = {"inputs": prompt,
21
  "parameters":
 
9
  headers = {"Authorization": f"Bearer {HF_TOKEN}"}
10
 
11
 
12
+ def sql_generate(prompt):
13
 
14
+
 
 
 
 
15
 
16
  json_ = {"inputs": prompt,
17
  "parameters":