Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ from fastapi import FastAPI
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
# Create a new FastAPI app instance
|
| 5 |
-
app = FastAPI()
|
| 6 |
|
| 7 |
# Initialize text generation pipeline - to generate text given an input.
|
| 8 |
pipe = pipeline(
|
|
|
|
| 2 |
from transformers import pipeline
|
| 3 |
|
| 4 |
# Create a new FastAPI app instance
|
| 5 |
+
app = FastAPI(docs_url="/")
|
| 6 |
|
| 7 |
# Initialize text generation pipeline - to generate text given an input.
|
| 8 |
pipe = pipeline(
|