FranciscoLozDataScience commited on
Commit
b15d31f
·
1 Parent(s): 73a446b

added allowed path

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -90,7 +90,7 @@ def load_interface():
90
 
91
  ## Confusion Matrix
92
 
93
- ![](smoker_cm.png)
94
 
95
  ## Final Report
96
  For more details about our Ensemble Classifier and the individual models, please refer to our Jupyter notebooks in our project repository.\n
@@ -157,7 +157,7 @@ def load_interface():
157
  ["Information", "Smoker Model"]
158
  )
159
 
160
- iface.launch(server_name="0.0.0.0", server_port=7860)
161
 
162
  if __name__ == "__main__":
163
  load_interface()
 
90
 
91
  ## Confusion Matrix
92
 
93
+ ![](file/smoker_cm.png)
94
 
95
  ## Final Report
96
  For more details about our Ensemble Classifier and the individual models, please refer to our Jupyter notebooks in our project repository.\n
 
157
  ["Information", "Smoker Model"]
158
  )
159
 
160
+ iface.launch(server_name="0.0.0.0", server_port=7860, allowed_paths=["/"])
161
 
162
  if __name__ == "__main__":
163
  load_interface()