Skip to content

Commit

Permalink
fix: black format
Browse files Browse the repository at this point in the history
  • Loading branch information
yuantuo666 committed Aug 21, 2024
1 parent 8021f15 commit a522b04
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions visualization/SingVisio/webpage/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ def process():
description="Missing query parameters: input_path and num_steps are required.",
)

input_path = 'data' + input_path.split('data')[1] if 'data' in input_path else input_path
input_path = (
'data' + input_path.split('data')[1] if 'data' in input_path else input_path
)
input_path = input_path[1:] if input_path.startswith("/") else input_path

try:
Expand Down Expand Up @@ -115,4 +117,4 @@ def serve_file(filename):

# tmux new -s singvisio
# conda activate singvisio
# gunicorn -w 8 -b 0.0.0.0:8080 server:app
# gunicorn -w 8 -b 0.0.0.0:8080 server:app

0 comments on commit a522b04

Please sign in to comment.