Skip to content

Commit

Permalink
Merge pull request #71 from miurla/parameters
Browse files Browse the repository at this point in the history
Improve parameter style
  • Loading branch information
miurla committed May 25, 2023
2 parents ac13c18 + 030e445 commit 3381fbe
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
BabyAGI UI is designed to make it easier to run and develop with [babyagi](https://github.com/yoheinakajima/babyagi) in a web app, like a ChatGPT.
This is a port of [babyagi](https://github.com/yoheinakajima/babyagi) with [Langchain.js](https://github.com/hwchase17/langchainjs) and build a user interface.

![](./public/screenshot-230515.png)
![](./public/images/screenshot-230525.png)
[Demo](https://twitter.com/miiura/status/1653026609606320130)

## 🧰 Stack
Expand Down
Binary file added public/images/screenshot-230525.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/screenshot-230515.png
Binary file not shown.
6 changes: 3 additions & 3 deletions src/components/Agent/AgentParameter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const AgentParameter: FC<AgentParameterProps> = ({

return (
<div className="mx-auto flex flex-col items-start space-y-3 p-4 pt-12 lg:w-2/3 xl:w-2/4">
<div className="z-10 flex w-full items-start justify-center gap-2">
<div className="z-20 flex w-full items-start justify-center gap-2">
<Select
label={translate('MODEL')}
item={model}
Expand All @@ -57,7 +57,7 @@ export const AgentParameter: FC<AgentParameterProps> = ({
/>
</div>
{agent.id === 'babyagi' && (
<div className="z-20 flex w-1/2 items-start pr-1 pt-2">
<div className="z-10 flex w-1/2 items-start pr-1">
<Select
label={translate('ITERATIONS')}
item={iterations}
Expand All @@ -72,7 +72,7 @@ export const AgentParameter: FC<AgentParameterProps> = ({
)}
{agent.id !== 'babycatagi' && (
<div className="flex w-full flex-col">
<label className="mb-2 text-left text-xs text-neutral-700 dark:text-neutral-400">
<label className="mb-2 text-left text-xs text-neutral-400 dark:text-neutral-500">
{translate('FIRST_TASK')}
</label>
<input
Expand Down
2 changes: 1 addition & 1 deletion src/components/Agent/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const Select: FC<Props> = ({ label, item, items, onChange }) => {
<div className="relative w-full">
<div className="flex w-full flex-col text-left text-xs">
<div className="mb-0.5 flex items-center">
<label className="text-neutral-600 dark:text-neutral-400">
<label className="text-neutral-400 dark:text-neutral-500">
{label}
</label>
{item.message && item.id !== 'babyagi' ? (
Expand Down

1 comment on commit 3381fbe

@vercel
Copy link

@vercel vercel bot commented on 3381fbe May 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

babyagi-ui – ./

babyagi-ui.vercel.app
babyagi-ui-git-main-babyagi-ui.vercel.app
babyagi-ui-babyagi-ui.vercel.app

Please sign in to comment.