Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ class InfographicRequest(BaseModel):
|
|
| 23 |
PROMPT_TEMPLATE = os.getenv("PROMPT_TEMPLATE")
|
| 24 |
|
| 25 |
|
| 26 |
-
|
| 27 |
"""
|
| 28 |
Extracts code blocks from the given Markdown text.
|
| 29 |
|
|
|
|
| 23 |
PROMPT_TEMPLATE = os.getenv("PROMPT_TEMPLATE")
|
| 24 |
|
| 25 |
|
| 26 |
+
def extract_code_blocks(markdown_text):
|
| 27 |
"""
|
| 28 |
Extracts code blocks from the given Markdown text.
|
| 29 |
|