Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
himanshu-skid19
/
Unconditional_Image_Generation_Using_Diffusion_Models
like
0
Sleeping
App
Files
Files
Community
7
Fetching metadata from the HF Docker repository...
zombie-596
commited on
Oct 10, 2023
Commit
5106c13
·
1 Parent(s):
320eae4
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+5
-0
app.py
ADDED
Viewed
@@ -0,0 +1,5 @@
1
+
pip install transformers
2
+
model_id = "himanshu-skid19/new_linear_model_1090.pt"
3
+
4
+
tokenizer = AutoTokenizer.from_pretrained(model_id)
5
+
model = AutoModel.from_pretrained(model_id)