Skip to content

Commit 6a20704

Browse files
committed
fix: wrong poster content
1 parent 921d7aa commit 6a20704

File tree

2 files changed

+34
-10
lines changed

2 files changed

+34
-10
lines changed

app/(website)/(pages)/poster/page.tsx

+30-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import Image from "next/image";
55
import { AnimatePresence, motion } from "framer-motion";
66
import posterData from "./posterData";
77
import { cn } from "@/lib/utils";
8+
import rehypeExternalLinks from "rehype-external-links";
9+
import remarkGfm from "remark-gfm";
10+
import ReactMarkdown from "react-markdown";
811

912
interface Poster {
1013
title: string;
@@ -115,7 +118,33 @@ export default function PosterPage() {
115118
<div className="md:max-h-[60vh] md:overflow-y-auto [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-white/20 [&::-webkit-scrollbar-thumb]:hover:bg-white/30 [&::-webkit-scrollbar-track]:rounded-full [&::-webkit-scrollbar-track]:bg-black/10 [&::-webkit-scrollbar]:w-2">
116119
<div className="pr-8">
117120
<p className="whitespace-pre-line">
118-
{selectedPoster.description}
121+
<ReactMarkdown
122+
remarkPlugins={[remarkGfm]}
123+
rehypePlugins={[
124+
[
125+
rehypeExternalLinks,
126+
{
127+
target: "_blank",
128+
rel: ["noopener", "noreferrer"],
129+
},
130+
],
131+
]}
132+
components={{
133+
a: ({ ...props }) => (
134+
<a
135+
{...props}
136+
style={{
137+
color: "rgb(119 187 255)",
138+
textDecoration: "underline",
139+
}}
140+
target="_blank"
141+
rel="noopener noreferrer"
142+
/>
143+
),
144+
}}
145+
>
146+
{selectedPoster.description}
147+
</ReactMarkdown>
119148
</p>
120149
</div>
121150
</div>

app/(website)/(pages)/poster/posterData.ts

+4-9
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,10 @@ The prediction of molecular properties was improved by a comprehensive research
3636
image: "3.jpg",
3737
},
3838
{
39-
title:
40-
"Enhanced Real-World Video Question-Answering :A Selective-Based Approach",
41-
author: "恩恩",
42-
authorDescription: `As a mathematics student with a strong passion for artificial intelligence, I enjoy leveraging my mathematical knowledge to solve real‐world computer vision tasks through AI integration. For example, I have recently developed a real‐time automatic system for tracking and analyzing basketball matches using computer vision, deep learning models, and various mathematical techniques. As hobbies, I have served as the team leader in three AI Cup competitions, each with commendable results.`,
43-
description: `In this poster, we address video question-answering (VQA) challenges within the STAR dataset [1]. We present a modified version of the Flipped VQA 7B model [2], enhancing it by implementing a trainable frame selector and utilizing Llama-adapter [3] for fine-tuning. Also, we conduct an in-depth analysis of failed predictions and fine-tune hyper-parameters for improved accuracy.
44-
45-
- [1] Bo Wu, et el. STAR: A Benchmark for Situated Reasoning in Real-World Videos. In NeurIPS 2021.
46-
- [2] Dohwan Ko, et el. Large Language Models are Temporal and Causal Reasoners for Video Question Answering. In EMNLP 2023.
47-
- [3] R Zhang, et al. LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attention. arXiv:2303.16199, 2023.`,
39+
title: "Hinagiku: AI-Powered Collaborative Learning",
40+
author: "Hinagiku Dev",
41+
authorDescription: `Wu, Tai-Cheng is a student in The affiliated senior high school of National Taiwan Normal University. TC is specialized in computer science and have publish some research related to this in science fair. Moreover, TC is the 30th club leader of Campus Network Management Club. `,
42+
description: `Hinagiku is an open-sourced intelligent system designed to support discussions in educational environments. We enhanced the traditional think-pair-share learning methodology with novel technologies like ASR and LLM to parallelize the discussions and improve the transparency of discussion groups from the host's side. book: https://hackmd.io/@hinagiku/wiki/%2Fsbkix5B9RFaVM3OzQsN3EQ`,
4843
image: "5.jpg",
4944
},
5045
{

0 commit comments

Comments
 (0)