Spaces:
Running
Running
remove header
#3
by
nikravan
- opened
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}")
|