Kvikontent commited on
Commit
9aff37c
1 Parent(s): f1c4820

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -5,7 +5,7 @@ from io import BytesIO
5
  import os
6
  from PIL import Image
7
 
8
- API_URL = "https://api-inference.huggingface.co/models/Kvikontent/kviimager2.0"
9
  api_key = os.environ.get('API_KEY')
10
  headers = {"Authorization": f"Bearer {api_key}"}
11
 
@@ -53,7 +53,7 @@ def generate_image_from_prompt(prompt_text):
53
  pil_img = Image.open(img) # Open the image using PIL library
54
  return pil_img # Return the converted PIL image
55
 
56
- title = "KVIImager 2.0 Demo 🎨"
57
  description = "This app uses Hugging Face AI model to generate an image based on the provided text prompt 🖼."
58
 
59
  input_prompt = gr.Textbox(label="Enter Prompt 📝", placeholder="E.g. 'Astronaut riding a horse'")
 
5
  import os
6
  from PIL import Image
7
 
8
+ API_URL = "https://api-inference.huggingface.co/models/kviai/3d-icons"
9
  api_key = os.environ.get('API_KEY')
10
  headers = {"Authorization": f"Bearer {api_key}"}
11
 
 
53
  pil_img = Image.open(img) # Open the image using PIL library
54
  return pil_img # Return the converted PIL image
55
 
56
+ title = "3D Icons SDXL Demo 🎨"
57
  description = "This app uses Hugging Face AI model to generate an image based on the provided text prompt 🖼."
58
 
59
  input_prompt = gr.Textbox(label="Enter Prompt 📝", placeholder="E.g. 'Astronaut riding a horse'")