geeksiddhant commited on
Commit
87131e4
·
verified ·
1 Parent(s): f19c84d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,7 +18,7 @@ def save_image(base64_str, image_format='png'):
18
  def query_api(negative_prompt, positive_prompt):
19
  # Prepare the headers and the JSON body of the request
20
  headers = {
21
- "Authorization": "Api-Key eC33svnV.vbYFrAXMrBZrqb7ukIp073gVC2ikRkfJ"
22
  }
23
  json_data = {
24
  'workflow_values': {
@@ -29,7 +29,7 @@ def query_api(negative_prompt, positive_prompt):
29
 
30
  # Send the POST request
31
  response = requests.post(
32
- "https://model-6wgvjxvw.api.baseten.co/development/predict",
33
  headers=headers,
34
  json=json_data
35
  )
 
18
  def query_api(negative_prompt, positive_prompt):
19
  # Prepare the headers and the JSON body of the request
20
  headers = {
21
+ "Authorization": "Api-Key O7NlgQG7.9e3nxz7K4K3CakdBpSYkHNlGx5gOmaXb"
22
  }
23
  json_data = {
24
  'workflow_values': {
 
29
 
30
  # Send the POST request
31
  response = requests.post(
32
+ "https://mmodel-5qe9kjp3.api.baseten.co/development/predict",
33
  headers=headers,
34
  json=json_data
35
  )