Skip to content

Commit 00b526c

Browse files
authored
Changed Default UI to Gradio (opea-project#1246)
Signed-off-by: okhleif-IL <omar.khleif@intel.com>
1 parent 4c01e14 commit 00b526c

File tree

6 files changed

+18
-18
lines changed

6 files changed

+18
-18
lines changed

DocSum/docker_compose/intel/cpu/xeon/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,22 +67,22 @@ docker build -t opea/docsum:latest --build-arg https_proxy=$https_proxy --build-
6767

6868
Several UI options are provided. If you need to work with multimedia documents, .doc, or .pdf files, suggested to use Gradio UI.
6969

70-
#### Svelte UI
70+
#### Gradio UI
7171

72-
Build the frontend Docker image via below command:
72+
Build the Gradio UI frontend Docker image using the following command:
7373

7474
```bash
7575
cd GenAIExamples/DocSum/ui
76-
docker build -t opea/docsum-ui:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f docker/Dockerfile .
76+
docker build -t opea/docsum-gradio-ui:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f docker/Dockerfile.gradio .
7777
```
7878

79-
#### Gradio UI
79+
#### Svelte UI
8080

81-
Build the Gradio UI frontend Docker image using the following command:
81+
Build the frontend Docker image via below command:
8282

8383
```bash
8484
cd GenAIExamples/DocSum/ui
85-
docker build -t opea/docsum-gradio-ui:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f docker/Dockerfile.gradio .
85+
docker build -t opea/docsum-ui:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f docker/Dockerfile .
8686
```
8787

8888
#### React UI

DocSum/docker_compose/intel/cpu/xeon/compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ services:
9595
ipc: host
9696
restart: always
9797

98-
docsum-ui:
99-
image: ${REGISTRY:-opea}/docsum-ui:${TAG:-latest}
98+
docsum-gradio-ui:
99+
image: ${REGISTRY:-opea}/docsum-gradio-ui:${TAG:-latest}
100100
container_name: docsum-xeon-ui-server
101101
depends_on:
102102
- docsum-xeon-backend-server

DocSum/docker_compose/intel/hpu/gaudi/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,22 @@ docker build -t opea/docsum:latest --build-arg https_proxy=$https_proxy --build-
5151

5252
Several UI options are provided. If you need to work with multimedia documents, .doc, or .pdf files, suggested to use Gradio UI.
5353

54-
#### Svelte UI
54+
#### Gradio UI
5555

56-
Build the frontend Docker image via below command:
56+
Build the Gradio UI frontend Docker image using the following command:
5757

5858
```bash
5959
cd GenAIExamples/DocSum/ui
60-
docker build -t opea/docsum-ui:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f docker/Dockerfile .
60+
docker build -t opea/docsum-gradio-ui:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f docker/Dockerfile.gradio .
6161
```
6262

63-
#### Gradio UI
63+
#### Svelte UI
6464

65-
Build the Gradio UI frontend Docker image using the following command:
65+
Build the frontend Docker image via below command:
6666

6767
```bash
6868
cd GenAIExamples/DocSum/ui
69-
docker build -t opea/docsum-gradio-ui:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f docker/Dockerfile.gradio .
69+
docker build -t opea/docsum-ui:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f docker/Dockerfile .
7070
```
7171

7272
#### React UI

DocSum/docker_compose/intel/hpu/gaudi/compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ services:
108108
ipc: host
109109
restart: always
110110

111-
docsum-ui:
112-
image: ${REGISTRY:-opea}/docsum-ui:${TAG:-latest}
111+
docsum-gradio-ui:
112+
image: ${REGISTRY:-opea}/docsum-gradio-ui:${TAG:-latest}
113113
container_name: docsum-gaudi-ui-server
114114
depends_on:
115115
- docsum-gaudi-backend-server

DocSum/tests/test_compose_on_gaudi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function build_docker_images() {
4646
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout "${opea_branch:-"main"}" && cd ../
4747

4848
echo "Build all the images with --no-cache, check docker_image_build.log for details..."
49-
service_list="docsum docsum-ui whisper dataprep-multimedia2text dataprep-audio2text dataprep-video2audio llm-docsum-tgi"
49+
service_list="docsum docsum-gradio-ui whisper dataprep-multimedia2text dataprep-audio2text dataprep-video2audio llm-docsum-tgi"
5050
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH}/docker_image_build.log
5151

5252
docker pull ghcr.io/huggingface/tgi-gaudi:2.0.6

DocSum/tests/test_compose_on_xeon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function build_docker_images() {
4545
git clone https://github.com/opea-project/GenAIComps.git && cd GenAIComps && git checkout "${opea_branch:-"main"}" && cd ../
4646

4747
echo "Build all the images with --no-cache, check docker_image_build.log for details..."
48-
service_list="docsum docsum-ui whisper dataprep-multimedia2text dataprep-audio2text dataprep-video2audio llm-docsum-tgi"
48+
service_list="docsum docsum-gradio-ui whisper dataprep-multimedia2text dataprep-audio2text dataprep-video2audio llm-docsum-tgi"
4949
docker compose -f build.yaml build ${service_list} --no-cache > ${LOG_PATH}/docker_image_build.log
5050

5151
docker pull ghcr.io/huggingface/text-generation-inference:1.4

0 commit comments

Comments
 (0)