Skip to content

Commit

Permalink
Update .gitignore and server configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
waynespa committed Feb 4, 2024
1 parent f52f2ee commit 0be94ee
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ celerybeat.pid
# Environments
.env
env/
.venv/
venv/
ENV/
env.bak/
Expand Down
2 changes: 1 addition & 1 deletion client/p.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/Users/jonathandunn/myAugmented/.venv/bin/python
#!/usr/bin/env python3

import pyperclip

Expand Down
2 changes: 1 addition & 1 deletion server/fabric_api_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,4 @@ def extwis():

# Run the application
if __name__ == "__main__":
app.run(host="1.1.1.1", port=13337, debug=True)
app.run(host="127.0.0.1", port=13337, debug=True)
5 changes: 3 additions & 2 deletions server/fabric_web_interface/fabric_web_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import requests
import json
from flask import send_from_directory
import os

##################################################
##################################################
Expand All @@ -15,7 +16,7 @@


def send_request(prompt, endpoint):
base_url = "http://hostorip.tld:13337"
base_url = "http://127.0.0.1:13337"
url = f"{base_url}{endpoint}"
headers = {
"Content-Type": "application/json",
Expand Down Expand Up @@ -54,4 +55,4 @@ def index():


if __name__ == "__main__":
app.run(host="172.30.0.176", port=13338, debug=True)
app.run(host="127.0.0.1", port=13338, debug=True)

0 comments on commit 0be94ee

Please sign in to comment.