Geek7 commited on
Commit
e4f3d55
·
verified ·
1 Parent(s): d9da751

Update myapp.py

Browse files
Files changed (1) hide show
  1. myapp.py +2 -2
myapp.py CHANGED
@@ -9,10 +9,10 @@ myapp = Flask(__name__)
9
  CORS(myapp)
10
 
11
  # Your Hugging Face API Token
12
- API_TOKEN = "your_huggingface_api_key"
13
 
14
  # Initialize the Inference Client
15
- client = InferenceClient(model="stabilityai/sd-x2-latent-upscaler", token=API_TOKEN)
16
 
17
  @myapp.route('/')
18
  def home():
 
9
  CORS(myapp)
10
 
11
  # Your Hugging Face API Token
12
+
13
 
14
  # Initialize the Inference Client
15
+ client = InferenceClient(model="stabilityai/sd-x2-latent-upscaler", token=HF_TOKEN)
16
 
17
  @myapp.route('/')
18
  def home():