A (very) simple, text only chatbot using Society AI inference endpoint
remove redundant file and code
Some checks failed
society-ai-hub-container-cache Actions Demo / build (push) Failing after 1m51s
Some checks failed
society-ai-hub-container-cache Actions Demo / build (push) Failing after 1m51s
This commit is contained in:
parent
ac7a68f24c
commit
f7722366e5
6
app.py
6
app.py
@ -7,12 +7,6 @@ client = OpenAI(
|
||||
base_url='https://llama-3-2-3b.societyai.com/openai/v1',
|
||||
)
|
||||
|
||||
# If your endpoint requires an API key, uncomment and set it here
|
||||
# client.api_key = 'your-api-key'
|
||||
|
||||
# Optionally, disable SSL verification if necessary (not recommended for production)
|
||||
# client.verify_ssl_certs = False
|
||||
|
||||
with gr.Blocks(css="footer {visibility: hidden}") as demo:
|
||||
chatbot = gr.Chatbot(type="messages")
|
||||
msg = gr.Textbox()
|
||||
|
1
build.sh
1
build.sh
@ -1 +0,0 @@
|
||||
docker buildx build --builder mybuilder --platform linux/amd64 --tag 637423653021.dkr.ecr.us-east-2.amazonaws.com/gradio-apps:test --load .
|
Loading…
x
Reference in New Issue
Block a user