Spaces:
Runtime error
Runtime error
matt HOFFNER
commited on
Commit
Β·
011fe48
1
Parent(s):
f48e2a0
simplify
Browse files
src/components/ChatWindow.jsx
CHANGED
|
@@ -129,11 +129,6 @@ function ChatWindow({
|
|
| 129 |
/>
|
| 130 |
</div>
|
| 131 |
</form>
|
| 132 |
-
<div className="h-4">
|
| 133 |
-
{isGenerating && (
|
| 134 |
-
<span>is typing...</span>
|
| 135 |
-
)}
|
| 136 |
-
</div>
|
| 137 |
|
| 138 |
<div className="flex justify-start m-2">
|
| 139 |
|
|
@@ -165,7 +160,7 @@ function ChatWindow({
|
|
| 165 |
className="w-full h-1 mt-2"
|
| 166 |
style={{
|
| 167 |
backgroundColor:
|
| 168 |
-
!isReady || isGenerating ? "
|
| 169 |
width: "100%",
|
| 170 |
height: "5px",
|
| 171 |
marginTop: "2px",
|
|
|
|
| 129 |
/>
|
| 130 |
</div>
|
| 131 |
</form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 132 |
|
| 133 |
<div className="flex justify-start m-2">
|
| 134 |
|
|
|
|
| 160 |
className="w-full h-1 mt-2"
|
| 161 |
style={{
|
| 162 |
backgroundColor:
|
| 163 |
+
!isReady || isGenerating ? "yellow" : "green",
|
| 164 |
width: "100%",
|
| 165 |
height: "5px",
|
| 166 |
marginTop: "2px",
|