A (very) simple, text only chatbot using Society AI inference endpoint

Update app.py
All checks were successful
society-ai-hub-container-cache Actions Demo / build (push) Successful in 41s

This commit is contained in:
badhezi 2024-11-25 07:18:27 +00:00
parent 2bef71abb2
commit 0a4e710dc3

2
app.py

@ -4,7 +4,7 @@ from openai import OpenAI
# Initialize the OpenAI client
client = OpenAI(
api_key="EMPTY",
base_url='https://llama-3-2-3b.societyai.com/openai/v1',
base_url='https://hub.societyai.com/models/llama-3-2-3b/openai/v1',
)
with gr.Blocks(css="footer {visibility: hidden}") as demo: