File size: 821 Bytes
c28a361
 
e71d648
c28a361
 
 
 
e71d648
 
 
c28a361
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Multimodelselector

     A Gradio-based chat application that allows querying multiple AI models (OpenAI, Anthropic, Gemini) with a ChatGPT-like interface, including persistent conversation history, context retention, and streaming responses (for OpenAI).

     ## Usage
     - Open the Space URL in your browser.
     - Select a provider (OpenAI, Anthropic, Gemini) from the dropdown.
     - Type a query and click "Submit" to chat.
     - Conversation history is preserved across queries, and OpenAI responses stream in real-time.
     - Click "Clear History" to start a new conversation.

     ## Setup
     - Set `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, and `GEMINI_API_KEY` as secrets in Hugging Face Space settings.
     - Runs on Python 3.8+ with dependencies listed in `requirements.txt`.
     - Framework: Gradio