vidhanm commited on
Commit
cf3bafe
·
1 Parent(s): 56f54f7

trying new approach

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -35,9 +35,8 @@ RUN mkdir -p $HF_HOME && chmod -R 777 $HF_HOME
35
  # It takes arguments like --model_path, --image_path, --prompt, --device
36
  # We will run it directly. Its output will go to the Space's container logs.
37
  CMD ["python", "-u", "/app/nanoVLM/generate.py", \
38
- "--model_path", "lusxvr/nanoVLM-222M", \
39
- "--image_path", "/app/test_image.jpg", \
40
  "--prompt", "describe this image in detail", \
41
- "--device", "cpu", \
42
- "--num_generations", "1", \
43
  "--max_new_tokens", "50"]
 
35
  # It takes arguments like --model_path, --image_path, --prompt, --device
36
  # We will run it directly. Its output will go to the Space's container logs.
37
  CMD ["python", "-u", "/app/nanoVLM/generate.py", \
38
+ "--hf_model", "lusxvr/nanoVLM-222M", \
39
+ "--image", "/app/test_image.jpg", \
40
  "--prompt", "describe this image in detail", \
41
+ "--generations", "1", \
 
42
  "--max_new_tokens", "50"]