Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def cohere_response(msg):
|
|
| 24 |
def generate_mockup(problem):
|
| 25 |
prompt_sum = f'''You are a UX designer who is an expert in generating front-end code for a given requirement from a product manager: {problem}.
|
| 26 |
You need to carefully understand the requirement and generate the HTML code for a series of mockups that together form a clickable prototype.
|
| 27 |
-
You can use Bootstrap and popularly available visual libraries to generate the code. Do not generate placeholders and always make assumptions that make the generated
|
| 28 |
mockups useful to solve real-world problems. Each mockup should link to the next, creating a seamless user experience. The prototype should be visually appealing and
|
| 29 |
satisfy the requirement as a mockup. You are supposed to just generate the HTML code and nothing else as output.'''
|
| 30 |
response = cohere_response(prompt_sum)
|
|
|
|
| 24 |
def generate_mockup(problem):
|
| 25 |
prompt_sum = f'''You are a UX designer who is an expert in generating front-end code for a given requirement from a product manager: {problem}.
|
| 26 |
You need to carefully understand the requirement and generate the HTML code for a series of mockups that together form a clickable prototype.
|
| 27 |
+
You can use Bootstrap and popularly available visual libraries to generate the code.Each screen should be clearly delimited by the header - Screen 1, Screen 2, Screen 3, etc. Do not generate placeholders and always make assumptions that make the generated
|
| 28 |
mockups useful to solve real-world problems. Each mockup should link to the next, creating a seamless user experience. The prototype should be visually appealing and
|
| 29 |
satisfy the requirement as a mockup. You are supposed to just generate the HTML code and nothing else as output.'''
|
| 30 |
response = cohere_response(prompt_sum)
|