Skip to content

Add a callable function to run DetectGPT without CLI #20

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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