Upload mixeduicomponent.tsx
Browse files
app/components/mixeduicomponent.tsx
CHANGED
|
@@ -59,10 +59,10 @@ export default function Home() {
|
|
| 59 |
]);
|
| 60 |
setInput(message.display);
|
| 61 |
};
|
| 62 |
-
|
| 63 |
return (
|
| 64 |
<div className="h-screen bg-gray-900 text-white flex-col items-center">
|
| 65 |
-
<div ref={scrollRef} className="bg-gray-800 w-full max-w-8xl h-5
|
| 66 |
{conversation.map(
|
| 67 |
(message: ClientMessage) => (
|
| 68 |
console.log('message', typeof message.display),
|
|
@@ -74,7 +74,7 @@ export default function Home() {
|
|
| 74 |
message.role === 'user' ? 'bg-blue-600' : 'bg-black-600'
|
| 75 |
} `}
|
| 76 |
>
|
| 77 |
-
<pre className='whitespace-pre-wrap'> {message.display}</pre>
|
| 78 |
</div>
|
| 79 |
)
|
| 80 |
)
|
|
@@ -94,14 +94,16 @@ export default function Home() {
|
|
| 94 |
<option value="" disabled>
|
| 95 |
Select an option
|
| 96 |
</option>
|
| 97 |
-
|
| 98 |
<option value="Gold price in India from Jan to Jun 2023 draw line chart">Gold price in India from Jan to Jun 2023 draw line chart</option>
|
| 99 |
-
<option value="
|
|
|
|
| 100 |
<option value="Show me products for jewelery">Show me products for jewelery</option>
|
| 101 |
<option value="Recipe of Pizza">Recipe of Pizza</option>
|
| 102 |
-
<option value="
|
|
|
|
| 103 |
<option value="For women\'s clothing list all products">For womens clothing list all products</option>
|
| 104 |
-
|
| 105 |
|
| 106 |
</select>
|
| 107 |
|
|
|
|
| 59 |
]);
|
| 60 |
setInput(message.display);
|
| 61 |
};
|
| 62 |
+
|
| 63 |
return (
|
| 64 |
<div className="h-screen bg-gray-900 text-white flex-col items-center">
|
| 65 |
+
<div ref={scrollRef} className="bg-gray-800 w-full max-w-8xl h-4/5 overflow-y-auto ">
|
| 66 |
{conversation.map(
|
| 67 |
(message: ClientMessage) => (
|
| 68 |
console.log('message', typeof message.display),
|
|
|
|
| 74 |
message.role === 'user' ? 'bg-blue-600' : 'bg-black-600'
|
| 75 |
} `}
|
| 76 |
>
|
| 77 |
+
<pre className='whitespace-pre-wrap text-yellow-500 text-md font-sans'> {message.display}</pre>
|
| 78 |
</div>
|
| 79 |
)
|
| 80 |
)
|
|
|
|
| 94 |
<option value="" disabled>
|
| 95 |
Select an option
|
| 96 |
</option>
|
| 97 |
+
|
| 98 |
<option value="Gold price in India from Jan to Jun 2023 draw line chart">Gold price in India from Jan to Jun 2023 draw line chart</option>
|
| 99 |
+
<option value="Population in India from Year 2010 to 2023 in billions draw bar chart">Population in India from Year 2010 to 2023 in billions draw bar chart</option>
|
| 100 |
+
<option value="List out products for men\'s clothing">List out products for mens clothing</option>
|
| 101 |
<option value="Show me products for jewelery">Show me products for jewelery</option>
|
| 102 |
<option value="Recipe of Pizza">Recipe of Pizza</option>
|
| 103 |
+
<option value="Longest 5 rivers in world">Longest 5 rivers in world</option>
|
| 104 |
+
<option value="Get products for electronics">Get products for electronics</option>
|
| 105 |
<option value="For women\'s clothing list all products">For womens clothing list all products</option>
|
| 106 |
+
|
| 107 |
|
| 108 |
</select>
|
| 109 |
|