Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
reshav1
/
test
like
0
Sleeping
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
reshav1
commited on
Feb 20, 2024
Commit
1ddef5c
·
verified
·
1 Parent(s):
ad5b5c7
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+1
-1
app.py
CHANGED
Viewed
@@ -6,5 +6,5 @@ model = GPT2Model.from_pretrained('gpt2')
6
7
text = "Hello"
8
9
-
outputs = model(
encoded_input
)
10
print(outputs)
6
7
text = "Hello"
8
9
+
outputs = model(
text
)
10
print(outputs)