Manireddy1508 commited on
Commit
c1ad0ba
·
1 Parent(s): 883dce0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -3,6 +3,7 @@ import requests
3
  from PIL import Image
4
  from io import BytesIO
5
  import base64
 
6
 
7
  # Hugging Face ControlNet API (Canny version)
8
  HF_API = "https://api-inference.huggingface.co/models/lllyasviel/controlnet-sdxl-1.0-canny"
 
3
  from PIL import Image
4
  from io import BytesIO
5
  import base64
6
+ import os
7
 
8
  # Hugging Face ControlNet API (Canny version)
9
  HF_API = "https://api-inference.huggingface.co/models/lllyasviel/controlnet-sdxl-1.0-canny"