islasher commited on
Commit
e5138ec
·
verified ·
1 Parent(s): 4f19405

Update ImageGenerator.py

Browse files
Files changed (1) hide show
  1. ImageGenerator.py +1 -1
ImageGenerator.py CHANGED
@@ -67,7 +67,7 @@ from io import BytesIO
67
 
68
  HF_API_KEY = os.getenv("HF_API_KEY")
69
 
70
- def generate_image(prompt):
71
  """
72
  Generate an image from the part of the prompt after the dash (-) via Hugging Face API.
73
  Returns a PIL.Image object. If the API fails, returns a placeholder image.
 
67
 
68
  HF_API_KEY = os.getenv("HF_API_KEY")
69
 
70
+ def generate_imagee(prompt):
71
  """
72
  Generate an image from the part of the prompt after the dash (-) via Hugging Face API.
73
  Returns a PIL.Image object. If the API fails, returns a placeholder image.