Spaces:
Running
Running
A newer version of the Gradio SDK is available:
5.1.0
metadata
title: GPT-4O-mini
emoji: 👁
colorFrom: green
colorTo: purple
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
app_port: 7860
license: wtfpl
short_description: A OpenAI API proxy.
A OpenAI API proxy.
Welcome to GPT-4O-mini! This space acts as a proxy to the OpenAI API, letting you interact with models to generate responses, images, and more. Here's a quick rundown:
Key Parts:
- app.py: Handles API requests and responses.
- Gradio Interface: Easy-to-use interface for text and image input.
- FastAPI: Fast web framework for building APIs.
Features:
- Model Selection: Pick from GPT-4, GPT-4-turbo, and GPT-4O-mini.
- Image Generation: Create images with DALL-E-3.
- Math Calculations: Do math with the fakeTool.
- Moderation: Automated content checks.
- User Consent: Agree to terms before use.
How to Use:
- Select a Model: Pick a model.
- Input Your Message: Type your prompt.
- Generate Responses: Click submit.
- Image Generation: Use fakeTool with a JSON prompt.
- Math Calculations: Use fakeTool with a JSON prompt.
Example Prompts:
- Image Generation:
{"tool": "imagine", "isCall": true, "prompt": "A golden retriever on a modern couch"}
- Math Calculation:
{"tool": "calc", "isCall": true, "prompt": "math.pi * 5"}
More Info:
- API Documentation: here.
- Latest Update: Added math faketool.
Enjoy exploring GPT-4O-mini!