Skip to content

Commit

Permalink
fix: remove auto generate promp attach file via dropzone
Browse files Browse the repository at this point in the history
  • Loading branch information
urmauur committed Feb 8, 2024
1 parent 30c2399 commit 507071a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions web/screens/Chat/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 110,6 @@ const ChatScreen: React.FC = () => {
const imageType = files[0]?.type.includes('image')
setFileUpload([{ file: files[0], type: imageType ? 'image' : 'pdf' }])
setDragOver(false)
if (imageType) {
setCurrentPrompt('What do you see in this image?')
} else {
setCurrentPrompt('Summarize this for me')
}
},
onDropRejected: (e) => {
if (
Expand Down

0 comments on commit 507071a

Please sign in to comment.