Realstate / test_api.py
amirshafiei's picture
Add app file
267bd18
raw
history blame
328 Bytes
import os
import requests
url = "http://0.0.0.0:8000/run_fully_automated?input_image&prompt&room_class"
# Livingroom Payloads
l_payload1 = {"zipcode" : "19701",
"budget":"800K",
"for_sale":"rent"}
response = requests.request("POST", url, data=l_payload1)
print(response.text)