Spaces:
Sleeping
Sleeping
Seif-Yasser
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
-
!pip install transformers
|
4 |
-
!pip install gradio
|
5 |
|
6 |
model = pipeline("text-generation", model="gpt2", tokenizer="gpt2")
|
7 |
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
|
|
|
|
3 |
|
4 |
model = pipeline("text-generation", model="gpt2", tokenizer="gpt2")
|
5 |
|