mirror of
https://github.com/Paillat-dev/presentator.git
synced 2026-01-02 01:06:20 +00:00
some things
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
import requests
|
||||
import os
|
||||
async def generate(prompt,path):
|
||||
r = requests.get(f"http://localhost:8000/generate_image?prompt={prompt}&path={path}")
|
||||
return r.json()
|
||||
#print the current working directory
|
||||
print(os.getcwd())
|
||||
Reference in New Issue
Block a user