Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -107,8 +107,8 @@ if uploaded_file is not None:
|
|
| 107 |
|
| 108 |
# Add the image to the slide at the bottom
|
| 109 |
left = (prs.slide_width - Inches(3)) / 2
|
| 110 |
-
top = prs.slide_height - Inches(3)
|
| 111 |
-
pic = slide.shapes.add_picture(temp_img_path, left, top, Inches(
|
| 112 |
|
| 113 |
# Add the paragraph to the slide at the top
|
| 114 |
left = Inches(1)
|
|
|
|
| 107 |
|
| 108 |
# Add the image to the slide at the bottom
|
| 109 |
left = (prs.slide_width - Inches(3)) / 2
|
| 110 |
+
top = prs.slide_height - Inches(3)
|
| 111 |
+
pic = slide.shapes.add_picture(temp_img_path, left, top, Inches(3), Inches(3))
|
| 112 |
|
| 113 |
# Add the paragraph to the slide at the top
|
| 114 |
left = Inches(1)
|