Spaces:
Sleeping
Sleeping
Eman-Abdelkader25
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
-
# Load the GPT-2 model
|
5 |
generator = pipeline('text-generation', model='gpt2')
|
6 |
|
7 |
# Function to generate text
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
|
4 |
+
# Load the GPT-2 model .
|
5 |
generator = pipeline('text-generation', model='gpt2')
|
6 |
|
7 |
# Function to generate text
|