Spaces:
Sleeping
Sleeping
change prompt text (#9)
Browse files- change prompt text (58d23d0a462bad7465562c0b182e978178effa7b)
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
|
13 |
|
14 |
-
|
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":
|