Files
GenAIExamples/DocSum/ui/svelte
WenjiaoYue b721c256f9 Fix Domain Access Issue in Latest Vite Version (#1444)
Fix the restriction on using domain names when users are using the latest version of Vite

When users use the new version of Vite, the UI cannot be accessed via domain names due to Vite's new rules. This fix adds the corresponding parameters according to Vite's new rules, ensuring that users can access the frontend via domain names when building the UI.

Fixes #1441

Co-authored-by: WenjiaoYue <wenjiao.yue@intel.com>
2025-01-21 23:28:37 +08:00
..
2024-11-18 17:15:42 +08:00

Doc Summary

📸 Project Screenshots

project-screenshot project-screenshot project-screenshot project-screenshot

🧐 Features

Here're some of the project's features:

  • Summarizing Uploaded Files: Upload files from their local device, then click 'Generate Summary' to summarize the content of the uploaded file. The summary will be displayed on the 'Summary' box.
  • Summarizing Text via Pasting: Paste the text to be summarized into the text box, then click 'Generate Summary' to produce a condensed summary of the content, which will be displayed in the 'Summary' box on the right.
  • Scroll to Bottom: The summarized content will automatically scroll to the bottom.

🛠️ Get it Running

  1. Clone the repo.

  2. cd command to the current folder.

  3. Modify the required .env variables.

    DOC_BASE_URL = ''
    
  4. Execute npm install to install the corresponding dependencies.

  5. Execute npm run dev in both environments