Skip to content

Commit

Permalink
fix: style
Browse files Browse the repository at this point in the history
  • Loading branch information
YOYZHANG committed Oct 21, 2024
1 parent d9b3cd3 commit f4fc9b7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file modified frontend/public/demo.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion frontend/src/components/audio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function Audio({ audioUrl, isAudioLoading, audioError }: { audioU
};

return (
<div className="p-6 px-12">
<div className="p-2 px-12">
<Card>
<CardContent className="p-2 bg-[rgb(249,249,249)] rounded-xl">
{isAudioLoading ? (
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/episode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface EpisodeProps {
export default function Episode({ isPodInfoLoading, podInfoError, podInfoData }: EpisodeProps) {

return (
<div className="flex items-start bg-gradient-to-br from-blue-100 via-purple-50 to-pink-50 p-4 rounded-2xl shadow-xl shadow-gray-200/50 mx-12 my-2">
<div className="flex items-start bg-gradient-to-br from-blue-100 via-purple-50 to-pink-50 p-4 rounded-2xl shadow-xl shadow-gray-200/50 mx-12 mb-2 mt-4">
<img
src="/cover1.png"
alt={podInfoData?.title || "Episode thumbnail"}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/hooks/useTaskData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function useAudioGeneration() {
const { task_id } = await response.json();

while (true) {
await new Promise(resolve => setTimeout(resolve, 2000)); // 等待2秒
await new Promise(resolve => setTimeout(resolve, 10000));

const statusResponse = await fetch(`${BASE_URL}/audio_status/${task_id}`);
const status = await statusResponse.json();
Expand Down

0 comments on commit f4fc9b7

Please sign in to comment.