Spaces:
Sleeping
Sleeping
remove header (#3)
Browse files- remove header (1c488087ad177a0570c24e015b1b457e32f9fb32)
app.py
CHANGED
@@ -29,7 +29,7 @@ def sql_generate(prompt, input_prompt_sql ):
|
|
29 |
{"use_cache": True,
|
30 |
"wait_for_model": True,
|
31 |
},}
|
32 |
-
response = requests.post(API_URL,
|
33 |
print(f"Response is : {response}")
|
34 |
output = response.json()
|
35 |
print(f"output is : {output}")
|
|
|
29 |
{"use_cache": True,
|
30 |
"wait_for_model": True,
|
31 |
},}
|
32 |
+
response = requests.post(API_URL, json=json_)
|
33 |
print(f"Response is : {response}")
|
34 |
output = response.json()
|
35 |
print(f"output is : {output}")
|