This commit is contained in:
2023-02-24 22:52:41 +01:00
parent 0acba2b807
commit 7e2d3bd1f2
3 changed files with 16 additions and 1 deletions

2
run.py
View File

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