Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
didivarian
/
Space_Didi
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
didivarian
commited on
Jun 6, 2024
Commit
7df1a57
·
verified
·
1 Parent(s):
5521272
Update app.py
Browse files
Files changed (1)
hide
show
app.py
+2
-3
app.py
CHANGED
Viewed
@@ -1,4 +1,3 @@
1
-
#
Use
a pipeline
as
a high-level helper
2
-
from transformers import pipeline
3
4
-
pipe = pipeline
("
text-generation", model="
Bin12345/AutoCoder")
1
+
import
gradio
as
gr
2
3
+
gr.load
("
models/
Bin12345/AutoCoder")
.launch()