Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
hadasbara
/
demo
like
0
Runtime error
App
Files
Files
Community
hadasbara
commited on
Sep 14, 2022
Commit
5c3e9b8
•
1 Parent(s):
f15ec55
added app.py
Browse files
Files changed (1)
hide
show
app.py
+5
-0
app.py
ADDED
Viewed
@@ -0,0 +1,5 @@
1
+
import gradio as gr
2
+
3
+
examples = [["The Moon's orbit around Earth has"], ["There once was a pineapple"]]
4
+
5
+
gr.Interface.load("huggingface/EleutherAI/gpt-j-6B", examples=examples).launch();