Amansoni7477030 commited on
Commit
1efaefb
·
verified ·
1 Parent(s): 48f4e7f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -26,6 +26,7 @@ RUN sh -c "ollama serve & SERVE_PID=\$! && \
26
  sleep 10 && \
27
  ollama create llama -f Modelfile && \
28
  kill \$SERVE_PID"
 
29
 
30
  # Expose port for API access
31
  EXPOSE 11434
 
26
  sleep 10 && \
27
  ollama create llama -f Modelfile && \
28
  kill \$SERVE_PID"
29
+ # curl -X POST https://amansoni7477030-ollama-server.hf.space/api/generate -d '{ "model": "llama", "prompt":"Why is the sky blue?" }'
30
 
31
  # Expose port for API access
32
  EXPOSE 11434