Saqib commited on
Commit
1a06eb9
1 Parent(s): eaf6278

Update modules/app.py

Browse files
Files changed (1) hide show
  1. modules/app.py +5 -0
modules/app.py CHANGED
@@ -60,6 +60,11 @@ async def download_file(url: str, suffix: str):
60
  temp_file.write(await response.read())
61
  return temp_file.name
62
 
 
 
 
 
 
63
  @app.post("/add_audio_to_image")
64
  async def add_audio_to_image(request: Request):
65
  try:
 
60
  temp_file.write(await response.read())
61
  return temp_file.name
62
 
63
+ @app.post("/test")
64
+ async def test(request: Request):
65
+ data = await request.json()
66
+ return "https://media.discordapp.net/attachments/858938620425404426/1264622245473550396/requirements.txt"
67
+
68
  @app.post("/add_audio_to_image")
69
  async def add_audio_to_image(request: Request):
70
  try: