Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the Hugging Face model
|
5 |
-
pipe = pipeline("text-generation", model="
|
6 |
|
7 |
# Define what the app does
|
8 |
def rewrite(text):
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load the Hugging Face model
|
5 |
+
pipe = pipeline("text-generation", model="mrm8488/t5-base-finetuned-common_gen")
|
6 |
|
7 |
# Define what the app does
|
8 |
def rewrite(text):
|