Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
flax-community
/
gpt2-base-thai
like
9
Text Generation
Transformers
PyTorch
JAX
TensorBoard
oscar
Thai
gpt2
gpt2-base-thai
Inference Endpoints
text-generation-inference
License:
mit
Model card
Files
Files and versions
Metrics
Training metrics
Community
1
Train
Deploy
Use this model
d99d65a
gpt2-base-thai
/
app.py
sakares
init Gradio GPT-2 Thai
d99d65a
almost 3 years ago
raw
history
blame
No virus
149 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()