Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
skkalwar
/
LLM_Model
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
153e456
LLM_Model
/
main.py
Shreekant Kalwar (Nokia)
new server
cd55ee8
3 months ago
raw
Copy download link
history
blame
Safe
218 Bytes
from
bot_instance
import
bot
history = [
{
"role"
:
"user"
,
"content"
:
"My name is Shreekant"
},
{
"role"
:
"bot"
,
"content"
:
"Ok"
}
]
answer = bot.ask(
"What is my name?"
, history=history)
print
(answer)