pediot commited on
Commit
9e73121
·
2 Parent(s): e1e0ecc 47533d0

Resolve merge conflicts

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. app.py +1 -1
  3. src/utils.py +1 -1
README.md CHANGED
@@ -31,4 +31,4 @@ uvicorn app:app --host 0.0.0.0 --port 8080 --reload
31
  ```
32
  docker build -t fclip .
33
  docker run -p 8080:7860 fclip
34
- ```
 
31
  ```
32
  docker build -t fclip .
33
  docker run -p 8080:7860 fclip
34
+ ```
app.py CHANGED
@@ -49,4 +49,4 @@ async def encode_images(
49
  app.state.req_count += 1
50
 
51
  if app.state.req_count % COLLECT_GC_EVERY == 0:
52
- gc.collect()
 
49
  app.state.req_count += 1
50
 
51
  if app.state.req_count % COLLECT_GC_EVERY == 0:
52
+ gc.collect()
src/utils.py CHANGED
@@ -87,4 +87,4 @@ def analyze_model_parameters(model: torch.nn.Module) -> Dict:
87
  }
88
  )
89
 
90
- return results
 
87
  }
88
  )
89
 
90
+ return results