port 7000
This commit is contained in:
parent
9091ab0610
commit
b54913a5de
2 changed files with 2 additions and 2 deletions
2
main.py
2
main.py
|
|
@ -43,6 +43,6 @@ def gpt4_proxy():
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app.run(host='localhost', port=6000)
|
app.run(host='localhost', port=7000)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
2
test.py
2
test.py
|
|
@ -1,7 +1,7 @@
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
def test_gateway(prompttext):
|
def test_gateway(prompttext):
|
||||||
url = 'http://localhost:6000/gpt'
|
url = 'http://localhost:7000/gpt'
|
||||||
payload = {
|
payload = {
|
||||||
'prompt': prompttext,
|
'prompt': prompttext,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue