xtreme86 commited on
Commit
e98d6df
·
1 Parent(s): 31fcb58
Files changed (1) hide show
  1. docker +15 -0
docker ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use an official PyTorch image with CUDA support as a base image
2
+ FROM pytorch/pytorch:2.0.1-cuda11.7-cudnn8-runtime
3
+
4
+ # Install additional Python dependencies
5
+ RUN pip install transformers==4.31.0 gradio==3.40.1
6
+
7
+ # Expose the default port for Gradio
8
+ EXPOSE 7860
9
+
10
+ # Copy your app files
11
+ COPY . /app
12
+ WORKDIR /app
13
+
14
+ # Run the Gradio app
15
+ CMD ["python", "app.py"]