From b96938745faae175fcaa7a8004e23df965b2363a Mon Sep 17 00:00:00 2001 From: Mert Cobanov Date: Wed, 1 May 2024 20:18:37 +0300 Subject: [PATCH] Move app to app folder --- Dockerfile | 2 +- README.md | 2 +- summarizer.py => app/summarizer.py | 0 translator.py => app/translator.py | 0 webui.py => app/webui.py | 0 yt_summarizer.py => app/yt_summarizer.py | 0 6 files changed, 2 insertions(+), 2 deletions(-) rename summarizer.py => app/summarizer.py (100%) rename translator.py => app/translator.py (100%) rename webui.py => app/webui.py (100%) rename yt_summarizer.py => app/yt_summarizer.py (100%) diff --git a/Dockerfile b/Dockerfile index ca536c4..359f324 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,6 @@ EXPOSE 7860 ENV GRADIO_SERVER_NAME="127.0.0.1" # Define the command to run the application -CMD ["python", "webui.py"] +CMD ["python", "app/webui.py"] diff --git a/README.md b/README.md index 114442e..49c6e8b 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Replace `http://example.com/document` with the actual URL of the document you wa To use the webpage summarizer in you web browser, you can also try gradio app. ```bash -python webui.py +python app/webui.py ``` ![gradio](assets/gradio.png) diff --git a/summarizer.py b/app/summarizer.py similarity index 100% rename from summarizer.py rename to app/summarizer.py diff --git a/translator.py b/app/translator.py similarity index 100% rename from translator.py rename to app/translator.py diff --git a/webui.py b/app/webui.py similarity index 100% rename from webui.py rename to app/webui.py diff --git a/yt_summarizer.py b/app/yt_summarizer.py similarity index 100% rename from yt_summarizer.py rename to app/yt_summarizer.py