Tomás Emilio Silva Ebensperger
08/29/2022, 4:39 PMBianca Hoch
08/29/2022, 6:36 PMTomás Emilio Silva Ebensperger
08/29/2022, 6:42 PM# Precision Recall Curve
## Testing
<img src="<https://revtron-ml.s3.amazonaws.com/precision_recall_curve.png>">
then to call it
with open('temp.md', 'r') as f:
md = f.read()
# testing artifacts
md_id = create_markdown_artifact(md)
The first two lines of the readme.md show up fine, it is the image that is no showing in the UI.Bianca Hoch
08/29/2022, 8:19 PM# Precision Recall Curve
## Testing

from prefect import task, Flow
from prefect.backend.artifacts import create_markdown_artifact
@task
def read_file():
with open('temp.md', 'r') as f:
return(f.read())
@task
def make_artifact(file):
create_markdown_artifact(file)
with Flow(name = "artifact-creation") as flow:
artifact_file = read_file()
make_artifact(artifact_file)
Tomás Emilio Silva Ebensperger
08/29/2022, 8:57 PM