Nik Ska commited on
Commit
60c14a4
1 Parent(s): 779e178

updated secret management

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -12,9 +12,6 @@ import base64
12
  import numpy as np
13
  import io
14
  import os
15
- # import streamlit as st
16
-
17
- print(os.environ.get("ENDPOINT"))
18
 
19
 
20
  def get_mask(img_in):
@@ -29,7 +26,7 @@ def get_mask(img_in):
29
  file_path = "/tmp/img_in.jpg"
30
  img_in_smol.save(file_path)
31
 
32
- upload_url = st.secrets["ENDPOINT"]
33
 
34
  files = {'file': open(file_path, 'rb')}
35
 
 
12
  import numpy as np
13
  import io
14
  import os
 
 
 
15
 
16
 
17
  def get_mask(img_in):
 
26
  file_path = "/tmp/img_in.jpg"
27
  img_in_smol.save(file_path)
28
 
29
+ upload_url = os.environ.get("ENDPOINT")
30
 
31
  files = {'file': open(file_path, 'rb')}
32