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
All checks were successful
society-ai-hub-container-cache Actions Demo / build (push) Successful in 41s
This commit is contained in:
parent
2bef71abb2
commit
0a4e710dc3
2
app.py
2
app.py
@ -4,7 +4,7 @@ from openai import OpenAI
|
|||||||
# Initialize the OpenAI client
|
# Initialize the OpenAI client
|
||||||
client = OpenAI(
|
client = OpenAI(
|
||||||
api_key="EMPTY",
|
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:
|
with gr.Blocks(css="footer {visibility: hidden}") as demo:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user