Skip to content

Commit

Permalink
style: lint catchup
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Nov 11, 2023
1 parent 883a917 commit b83bec1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/lora_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,16 +220,16 @@ def _download_thread(self):
break

logger.debug(f"Downloaded LORA file for {lora['filename']} didn't match hash")
pass # we will retry
# we will retry

except (requests.HTTPError, requests.ConnectionError, requests.Timeout, json.JSONDecodeError) as e:
logger.debug(f"Error downloading {lora['filename']} {e}")
pass # we will retry
# we will retry

except Exception as e:
# Failed badly, ignore
logger.debug(f"Fatal error downloading {lora['filename']} {e}")
pass # we will retry
# we will retry

retries += 1
logger.debug(f"Retry of LORA file download for {lora['filename']}")
Expand Down
1 change: 0 additions & 1 deletion examples/run_sdk_inference_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def main():
)

horde.basic_inference(example_response)
pass


if __name__ == "__main__":
Expand Down

0 comments on commit b83bec1

Please sign in to comment.