Hugging Face
Models
Datasets
Spaces
Buckets
new
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:
Duplicated from
lun0tic-j/pn
oldgarden21
/
pn_1
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
lun0tic-j
commited on
Feb 21, 2024
Commit
7bbb0e7
·
verified
·
1 Parent(s):
20a4075
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+1
-2
app.py
CHANGED
Viewed
@@ -1,5 +1,4 @@
1
-
pip
install
torch
2
-
3
import torch
4
from transformers import GPT2LMHeadModel, GPT2Tokenizer
5
1
+
import
gradio
as gr
2
import torch
3
from transformers import GPT2LMHeadModel, GPT2Tokenizer
4