jibay commited on
Commit ·
ab4539d
1
Parent(s): 9f20f87
Add application file
Browse files25 unmodified lines26272829303125 unmodified lines# Create a new FastAPI app instanceapp = FastAPI()# Define a function to handle the GET request at `/generate`# The generate() function is defined as a FastAPI route that takes a25 unmodified lines26272829303132333435363725 unmodified lines# Create a new FastAPI app instanceapp = FastAPI()twilio_client = Client()public_url = "https://jibay-test.hf.space/call"number = twilio_client.incoming_phone_numbers.list()[0]number.update(voice_url=public_url)print("ok serveur")# Define a function to handle the GET request at `/generate`# The generate() function is defined as a FastAPI route that takes a
app.py+6