Hugging Face
Models
Datasets
Spaces
Buckets
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
reshav1
/
test
Like
0
Build error
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
reshav1
commited on
Feb 21, 2024
Commit
9b1d780
·
verified
·
1 Parent(s):
68ac2cc
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+1
-1
app.py
CHANGED
Viewed
@@ -6,4 +6,4 @@ model = GPT2LMHeadModel.from_pretrained(model_id)
6
7
text = "Hello"
8
9
-
outputs = model(
text
)
6
7
text = "Hello"
8
9
+
outputs = model(
**encoded_text
)