kael558 commited on
Commit
7ad44b8
1 Parent(s): e120cd4

switch to docker

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -23
  2. README.md +1 -1
Dockerfile CHANGED
@@ -10,26 +10,4 @@ RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh &
10
  rm Miniconda3-latest-Linux-x86_64.sh
11
 
12
  # Add conda to PATH
13
- ENV PATH /opt/conda/bin:$PATH
14
-
15
- # Clone the LLaVA Interactive Demo repository
16
- RUN git clone https://github.com/LLaVA-VL/LLaVA-Interactive-Demo.git
17
-
18
- # Create a conda environment for LLaVA Interactive Demo
19
- RUN conda create -n llava_int -c conda-forge -c pytorch python=3.10.8 pytorch=2.0.1 -y
20
-
21
- # Activate the conda environment
22
- SHELL ["conda", "run", "-n", "llava_int", "/bin/bash", "-c"]
23
-
24
- # Navigate to the LLaVA Interactive Demo directory
25
- WORKDIR /LLaVA-Interactive-Demo
26
-
27
- # Install Python dependencies
28
- RUN pip install -r requirements.txt
29
-
30
- # Run the setup script
31
- RUN source setup.sh
32
-
33
- # The command to run the demo (optional)
34
- # If you want to run the demo as the default command when the container starts, you can use:
35
- CMD ["./run_demo.sh"]
 
10
  rm Miniconda3-latest-Linux-x86_64.sh
11
 
12
  # Add conda to PATH
13
+ ENV PATH /opt/conda/bin:$PATH
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md CHANGED
@@ -3,7 +3,7 @@ title: Llava
3
  emoji: ⚡
4
  colorFrom: yellow
5
  colorTo: pink
6
- sdk: gradio
7
  pinned: false
8
  license: mit
9
  ---
 
3
  emoji: ⚡
4
  colorFrom: yellow
5
  colorTo: pink
6
+ sdk: docker
7
  pinned: false
8
  license: mit
9
  ---