Skip to content

Commit 0e0f688

Browse files
committed
Allowed Flask to run 0.0.0.0 to access global
1 parent f6ed14f commit 0e0f688

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Track 1_AI and Machine Learning/project1/Flask Integration/New_Bucket.py

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ def transform(self, data_list):
2424

2525
def predict(nulldata):
2626
print(" Predict")
27-
nulldata.set
2827
# nulldata = pd.read_csv("data.csv")
2928

3029
nulldata["clear_date"] = pd.to_datetime(nulldata.clear_date)

Track 1_AI and Machine Learning/project1/Flask Integration/integration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,4 @@ def user(usr):
8383

8484

8585
if __name__ == "__main__":
86-
app.run()
86+
app.run(host='0.0.0.0')

0 commit comments

Comments
 (0)