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 1m30s
All checks were successful
society-ai-hub-container-cache Actions Demo / build (push) Successful in 1m30s
This commit is contained in:
parent
34cb54f75d
commit
5854002ff0
2
app.py
2
app.py
@ -6,7 +6,7 @@ client = OpenAI(
|
|||||||
base_url='https://hub.societyai.com/models/llama-3-2-3b/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() as demo:
|
||||||
chatbot = gr.Chatbot(type="messages")
|
chatbot = gr.Chatbot(type="messages")
|
||||||
msg = gr.Textbox()
|
msg = gr.Textbox()
|
||||||
clear = gr.Button("Clear")
|
clear = gr.Button("Clear")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user