pierreguillou commited on
Commit
b6b9185
·
verified ·
1 Parent(s): 34aea08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -13,9 +13,8 @@ import google.generativeai as genai
13
  import json
14
 
15
  def authenticate(username, password):
16
- return (username == os.environ.get("HF_USERNAME") and
17
- password == os.environ.get("HF_PASSWORD"))
18
-
19
  # Helper Functions
20
  def convert_to_rgb(image_path):
21
  img = Image.open(image_path)
 
13
  import json
14
 
15
  def authenticate(username, password):
16
+ return username == os.getenv("HF_USERNAME") and password == os.getenv("HF_PASSWORD")
17
+
 
18
  # Helper Functions
19
  def convert_to_rgb(image_path):
20
  img = Image.open(image_path)