Update app.py
Browse files
app.py
CHANGED
@@ -356,7 +356,7 @@ def generate_detailed_documentation(file_contents, functionality_description):
|
|
356 |
'
|
357 |
Functionality Flow:
|
358 |
<In point form, explain the sequence of functions and data flow mentioning each function being used. If there are multiple initial input points required for the user-defined functionality, show the flow of each one
|
359 |
-
and all each function being used.
|
360 |
'
|
361 |
4. Generate detailed documentation for each function in the codebase:
|
362 |
'
|
@@ -483,7 +483,7 @@ def generate_documentation_page():
|
|
483 |
elif line.startswith("- '"):
|
484 |
pdf.set_font("Courier", style="B", size=12)
|
485 |
else:
|
486 |
-
pdf.set_font("
|
487 |
pdf.multi_cell(0, 10, line)
|
488 |
|
489 |
# Save and allow download of the PDF
|
|
|
356 |
'
|
357 |
Functionality Flow:
|
358 |
<In point form, explain the sequence of functions and data flow mentioning each function being used. If there are multiple initial input points required for the user-defined functionality, show the flow of each one
|
359 |
+
and all each function being used. Make sure to have NO empty line between 'Functionality Flow' and this content>
|
360 |
'
|
361 |
4. Generate detailed documentation for each function in the codebase:
|
362 |
'
|
|
|
483 |
elif line.startswith("- '"):
|
484 |
pdf.set_font("Courier", style="B", size=12)
|
485 |
else:
|
486 |
+
pdf.set_font("Courier", size=12)
|
487 |
pdf.multi_cell(0, 10, line)
|
488 |
|
489 |
# Save and allow download of the PDF
|