Update myapp.py
Browse files
myapp.py
CHANGED
@@ -9,10 +9,10 @@ myapp = Flask(__name__)
|
|
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=
|
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():
|