Spaces:
Sleeping
Sleeping
Download src/components/assistantText.tsx from ratalai/chatvrm_for_desh: direct link, hf CLI and curl.
- Browser
- Download file 670 Bytes
-
https://huggingface.co/spaces/ratalai/chatvrm_for_desh/resolve/main/src/components/assistantText.tsx
- Command line
-
hf download hf://spaces/ratalai/chatvrm_for_desh/src/components/assistantText.tsx
-
curl -L -o assistantText.tsx https://huggingface.co/spaces/ratalai/chatvrm_for_desh/resolve/main/src/components/assistantText.tsx
670 Bytes
| import React from 'react'; | |
| export const AssistantText = ({ message }: { message: string }) => { | |
| return ( | |
| <div className="absolute bottom-0 left-0 mb-104 w-full"> | |
| <div className="mx-auto max-w-4xl w-full p-16"> | |
| <div className="bg-white rounded-8"> | |
| <div className="px-24 py-8 bg-secondary rounded-t-8 text-white font-bold tracking-wider"> | |
| Character | |
| </div> | |
| <div className="px-24 py-16"> | |
| <div className="line-clamp-4 text-secondary typography-16 font-bold"> | |
| {message.replace(/\[([a-zA-Z]*?)\]/g, "")} | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| ); | |
| }; | |