Spaces:
Runtime error
Runtime error
matt HOFFNER
commited on
Commit
Β·
1577b96
1
Parent(s):
ed9ee96
cleanup
Browse files
src/components/{ChatV2.tsx β ChatV2.jsx}
RENAMED
|
@@ -1,17 +1,8 @@
|
|
| 1 |
"use client";
|
| 2 |
-
import { useState } from "react";
|
| 3 |
import ChatWindow from "./ChatWindow";
|
| 4 |
|
| 5 |
|
| 6 |
export default function Chat() {
|
| 7 |
-
const [screenName, setScreenName] = useState("endlessbox5");
|
| 8 |
-
const [stopStrings, setStopStrings] = useState(["user:", "assistant:"]);
|
| 9 |
-
const [maxTokens, setMaxTokens] = useState(100);
|
| 10 |
-
const [soundLevel, setSoundLevel] = useState(0.2);
|
| 11 |
-
const [showConversationList, setShowConversationList] = useState(false);
|
| 12 |
-
const [showOptions, setShowOptions] = useState(false);
|
| 13 |
-
|
| 14 |
-
|
| 15 |
return (
|
| 16 |
<div>
|
| 17 |
<div className="flex justify-center m-3 gap-2">
|
|
|
|
| 1 |
"use client";
|
|
|
|
| 2 |
import ChatWindow from "./ChatWindow";
|
| 3 |
|
| 4 |
|
| 5 |
export default function Chat() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
return (
|
| 7 |
<div>
|
| 8 |
<div className="flex justify-center m-3 gap-2">
|
tsconfig.json
CHANGED
|
@@ -18,6 +18,6 @@
|
|
| 18 |
"@/*": ["./src/*"]
|
| 19 |
}
|
| 20 |
},
|
| 21 |
-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
|
| 22 |
"exclude": ["node_modules"]
|
| 23 |
}
|
|
|
|
| 18 |
"@/*": ["./src/*"]
|
| 19 |
}
|
| 20 |
},
|
| 21 |
+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "src/components/ChatV2.jsx"],
|
| 22 |
"exclude": ["node_modules"]
|
| 23 |
}
|