Spaces:
Sleeping
Sleeping
removed making lowercase
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def main():
|
|
| 26 |
# Define the function that generates the description
|
| 27 |
def generate_description(title):
|
| 28 |
# Preprocess the input
|
| 29 |
-
input_text = f"{title
|
| 30 |
input_ids = tokenizer.encode(input_text, return_tensors='pt')
|
| 31 |
|
| 32 |
# Generate the output using the model
|
|
|
|
| 26 |
# Define the function that generates the description
|
| 27 |
def generate_description(title):
|
| 28 |
# Preprocess the input
|
| 29 |
+
input_text = f"{title}"
|
| 30 |
input_ids = tokenizer.encode(input_text, return_tensors='pt')
|
| 31 |
|
| 32 |
# Generate the output using the model
|