Skip to content

Add a callable function to run DetectGPT without CLI #20

@KlaraGtknst

Description

@KlaraGtknst

Hi, thanks for the great work on this repo!
Would it be possible to:

  • Expose the main logic from run.py as a callable Python function, or
  • Point to an existing function that allows running DetectGPT programmatically (i.e., without going through the CLI)?

This would make it easier to use DetectGPT as a library from within other Python scripts or notebooks.
Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions