danielrosehill's picture
commit
935119a

A newer version of the Gradio SDK is available: 5.49.1

Upgrade
metadata
title: System Prompt Reformatter
emoji: πŸ“š
colorFrom: indigo
colorTo: gray
sdk: gradio
sdk_version: 5.47.2
app_file: app.py
pinned: false
short_description: Reformats system prompts in the 2nd person and other edits

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

OpenAI Key (Optional)

  • Enter your OpenAI API key to use GPT-4o-mini for reformatting.
  • Leave it blank to use the offline heuristic (no external calls).
  • You can also set a Space Secret OPENAI_API_KEY to avoid typing it.

If the key is missing or the request fails, the app automatically falls back to the offline heuristic.