aaraya commited on
Commit
f2d78d9
·
1 Parent(s): df835a0

Add ridgerun/rrai-voiceagent container

Browse files
Files changed (2) hide show
  1. Dockerfile +11 -0
  2. README.md +4 -0
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ridgerun/rrai-voice-agent-models
2
+
3
+ ENV TORCH_HOME=/app/.torch_cache
4
+ ENV XDG_CACHE_HOME=/app/.cache
5
+ ENV HOME=/app
6
+
7
+ USER root
8
+ RUN mkdir -p /app/.cache && chown -R 1000:1000 /app/.cache
9
+ USER 1000
10
+
11
+ CMD ["voice-agent"]
README.md CHANGED
@@ -6,6 +6,10 @@ colorTo: gray
6
  sdk: docker
7
  pinned: false
8
  short_description: On premise AI Voice Agent with WebRTC
 
 
 
 
9
  ---
10
 
11
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
6
  sdk: docker
7
  pinned: false
8
  short_description: On premise AI Voice Agent with WebRTC
9
+ app_port: 7860
10
+ env:
11
+ - TORCH_HOME=/app/.torch_cache
12
+ - ENV XDG_CACHE_HOME=/app/.cache
13
  ---
14
 
15
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference