Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelPelletierEvraire authored Apr 9, 2024
1 parent 0e1803b commit 3d11e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def addText(request, number, baseQuestions=None):

return request

def generateRequest(directory, model:GenerativeModel, vertex:vertexai, baseQuestions=None, typeOfQuestion):
def generateRequest(directory, model:GenerativeModel, vertex:vertexai, baseQuestions=None):
request = getListImage(collect_images(directory))
if baseQuestions == None:

Check failure on line 36 in app.py

View workflow job for this annotation

GitHub Actions / test-python / lint-test

Ruff (E711)

app.py:36:25: E711 Comparison to `None` should be `cond is None`
request = addText(request, 1)
Expand Down

0 comments on commit 3d11e03

Please sign in to comment.