Spaces:
Runtime error
Runtime error
Commit ·
b6c5c80
1
Parent(s): 6cbd99b
Update app.py
Browse files
app.py
CHANGED
|
@@ -236,7 +236,7 @@ async def generate_text(request: Request):
|
|
| 236 |
print("*" * 50)
|
| 237 |
data = await request.json()
|
| 238 |
print("*" * 50)
|
| 239 |
-
|
| 240 |
|
| 241 |
# Check length of input, if it is greater than 10 tokens, the text is sent off to a summarizer to generate:
|
| 242 |
try:
|
|
|
|
| 236 |
print("*" * 50)
|
| 237 |
data = await request.json()
|
| 238 |
print("*" * 50)
|
| 239 |
+
logging.info("POST to api/generate received and processing")
|
| 240 |
|
| 241 |
# Check length of input, if it is greater than 10 tokens, the text is sent off to a summarizer to generate:
|
| 242 |
try:
|