Spaces:
Running
Running
Update Proposal.py
Browse files- Proposal.py +3 -3
Proposal.py
CHANGED
@@ -106,10 +106,10 @@ def prop(num_slides):
|
|
106 |
python_code = generate_python_code("CB_Master_Template.pptx", presentation_text)
|
107 |
print("Python code generated successfully!")
|
108 |
|
109 |
-
with open("generated_code.py", "w") as f:
|
110 |
-
|
111 |
|
112 |
-
print("Python code saved to 'generated_code.py' successfully!")
|
113 |
|
114 |
# Execute the generated Python code
|
115 |
exec(python_code, globals())
|
|
|
106 |
python_code = generate_python_code("CB_Master_Template.pptx", presentation_text)
|
107 |
print("Python code generated successfully!")
|
108 |
|
109 |
+
# with open("generated_code.py", "w") as f:
|
110 |
+
# f.write(python_code)
|
111 |
|
112 |
+
# print("Python code saved to 'generated_code.py' successfully!")
|
113 |
|
114 |
# Execute the generated Python code
|
115 |
exec(python_code, globals())
|