Skip to content

Commit

Permalink
asdfasd
Browse files Browse the repository at this point in the history
  • Loading branch information
WillReynolds5 committed Sep 16, 2024
1 parent 2a43fd2 commit 4dcb1c3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions meeca/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from PIL import Image

# Set the server address for your API
server_address = "http://127.0.0.1:8188"
server_address = "http://174.52.227.249:8188"


def gen_prompt(pos_prompt, neg_prompt, background_prompt, face_image, pose_image, seed=None):
Expand Down Expand Up @@ -35,13 +35,6 @@ def gen_prompt(pos_prompt, neg_prompt, background_prompt, face_image, pose_image

return character_gen_data

def queue_prompt(prompt):
payload = {"prompt": prompt}
data = json.dumps(payload)
headers = {'Content-Type': 'application/json'}
response = requests.post("http://174.52.227.249:8188/prompt", data=data, headers=headers)
print(response.text)


def queue_prompt(prompt):
payload = {"prompt": prompt}
Expand Down

0 comments on commit 4dcb1c3

Please sign in to comment.