Re-structure

This commit is contained in:
2023-02-23 15:55:29 +01:00
parent 58abb8e530
commit 22d6e5df3c
3 changed files with 31 additions and 6 deletions

4
run.py Normal file
View File

@@ -0,0 +1,4 @@
import requests
def runPrompt(prompt):
r = requests.get('http://localhost:3042/capital/' + prompt)
return r.json().get('response')