Update prompt to try to (unsuccessfully) restrict only to systems
Browse files
app.py
CHANGED
@@ -15,8 +15,10 @@ logging.basicConfig(
|
|
15 |
|
16 |
SUPPORTED_FILE_EXTENSIONS = ['png', 'jpg', 'jpeg']
|
17 |
IMAGE_PROMPT = (
|
18 |
-
'
|
19 |
-
' The image
|
|
|
|
|
20 |
' Based SOLELY on the image, describe the system and its different components in detail.'
|
21 |
' You should not use any prior knowledge except for universal truths.'
|
22 |
' If relevant, describe how the relevant components interact and how information flows.'
|
|
|
15 |
|
16 |
SUPPORTED_FILE_EXTENSIONS = ['png', 'jpg', 'jpeg']
|
17 |
IMAGE_PROMPT = (
|
18 |
+
# 'You are a systems expert.'
|
19 |
+
' The provided image relates to a system.'
|
20 |
+
# ' Refuse to answer if the provided image is not related to any system or software in any way.'
|
21 |
+
' The system\'s image could be of any type, such as architecture diagram, flowchart, state machine, and so on.'
|
22 |
' Based SOLELY on the image, describe the system and its different components in detail.'
|
23 |
' You should not use any prior knowledge except for universal truths.'
|
24 |
' If relevant, describe how the relevant components interact and how information flows.'
|