Spaces:
Runtime error
Runtime error
Update screenshot.py
Browse files- screenshot.py +2 -2
screenshot.py
CHANGED
|
@@ -3,8 +3,8 @@ before_prompt = """
|
|
| 3 |
<div id = "img_placeholder">
|
| 4 |
</div>
|
| 5 |
<div class="relative" id="capture" align="justify" style="display:none;">
|
| 6 |
-
<div class="absolute font-semibold" style="left:7%; right:7%; bottom:32%; top:7%; font-size:
|
| 7 |
-
<p class="text" style="color:
|
| 8 |
prompt_to_generation = """</p>
|
| 9 |
<p class="text" style="color:#FE57A0; white-space:pre-wrap;" dir="auto" id="generation">"""
|
| 10 |
after_generation = """</p>
|
|
|
|
| 3 |
<div id = "img_placeholder">
|
| 4 |
</div>
|
| 5 |
<div class="relative" id="capture" align="justify" style="display:none;">
|
| 6 |
+
<div class="absolute font-semibold" style="left:7%; right:7%; bottom:32%; top:7%; font-size: 12rem; line-height: 1; padding: 1rem; font-family:-apple-system, BlinkMacSystemFont, 'Arial', sans-serif;" id="text_box">
|
| 7 |
+
<p class="text" style="color:pink; white-space:pre-wrap;" dir="auto" id = "prompt">"""
|
| 8 |
prompt_to_generation = """</p>
|
| 9 |
<p class="text" style="color:#FE57A0; white-space:pre-wrap;" dir="auto" id="generation">"""
|
| 10 |
after_generation = """</p>
|