Spaces:
Sleeping
Sleeping
File size: 468 Bytes
86da093 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# gradio_gpt2
import gradio as gr
gr.Interface.load(
"huggingface/gpt2",
title="Storytelling with GPT2",
css="""
body {
background: rgb(2,0,36);
background: linear-gradient(180deg, rgba(2,0,36,1) 0%, rgba(7,51,99,1) 70%, rgba(6,3,17,1) 100%);
}
.title {
color: white;
}
""",
interpretation="default", # shap fails for text box
).launch()
# css makes a nice gradient
|