Skip to content

Commit

Permalink
Front-End Temporary remove premium limitation and update build command
Browse files Browse the repository at this point in the history
  • Loading branch information
king112ola committed Jul 19, 2024
1 parent 3277205 commit ecde47e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Front-End/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "vite",
"build:client": "vite build --outDir dist/client",
"build:server": "vite build --outDir dist/server --ssr src/entry-server.jsx",
"build": "vite build",
"build": "vite build && move _redirects dist\\",
"preview": "vite preview",
"comepileSass": "sass src/assets/scss/style.scss style.css"
},
Expand Down
8 changes: 4 additions & 4 deletions Front-End/src/views/chatgpt/selectionIocnLoader/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,10 @@ export const SelectionIconLoader = () => {
<motion.h5 style={{ width: '70px' }} className="selectionItem" onClick={() => handleChangeCurrentAiEngine('STABLEDIFFUSION')}>Stable-Diffusion</motion.h5>
<motion.h5 style={{ width: '70px' }} className="selectionItem" onClick={() => handleChangeCurrentAiEngine('T2SEDEN')}>T2S Eden</motion.h5>
<motion.h5
hidden={!isPremiumUser}
// TODO: make some of the ai as isPremiumUser only, but for demo, we do not hide any ai.
// hidden={!isPremiumUser}
style={{ width: isSmallScreen ? '90px' : '80px' }} className="selectionItem"


onClick={() => {
document.getElementById('DocUpload').click()

Expand All @@ -255,10 +255,10 @@ export const SelectionIconLoader = () => {
>
PDF Translate Eden
</motion.h5>
<motion.h5 hidden={!isPremiumUser} style={{ width: '50px' }} className="selectionItem" onClick={() => handleChangeCurrentAiEngine('DID')}>D-ID</motion.h5>
<motion.h5 style={{ width: '50px' }} className="selectionItem" onClick={() => handleChangeCurrentAiEngine('DID')}>D-ID</motion.h5>
<motion.h5 style={{ width: '70px' }} className="selectionItem" onClick={() => handleChangeCurrentAiEngine('OPENJOURNEY')}>Openjourney</motion.h5>
<motion.h5 style={{ width: '70px' }} className="selectionItem" onClick={() => handleChangeCurrentAiEngine('ANYTHING')}>Anything-v4.0</motion.h5>
<motion.h5 hidden={!isPremiumUser} style={{ width: '70px' }} className="selectionItem" onClick={() => handleChangeCurrentAiEngine('None')}>Bard</motion.h5>
<motion.h5 style={{ width: '70px' }} className="selectionItem" onClick={() => handleChangeCurrentAiEngine('None')}>Bard</motion.h5>
<motion.h5 style={{ width: '70px' }} className="selectionItem" >Bing Ai.</motion.h5>
<motion.h5 style={{ width: '70px' }} className="selectionItem" ></motion.h5>
<motion.h5 style={{ width: '70px' }} className="selectionItem" ></motion.h5>
Expand Down

0 comments on commit ecde47e

Please sign in to comment.