Spaces:
Runtime error
Runtime error
refactor(app): update spaces
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ app = FastAPI()
|
|
| 7 |
# This function will be able to generate text
|
| 8 |
# given an input.
|
| 9 |
pipe = pipeline("text2text-generation",
|
| 10 |
-
model="
|
| 11 |
|
| 12 |
# Define a function to handle the GET request at `/generate`
|
| 13 |
# The generate() function is defined as a FastAPI route that takes a
|
|
|
|
| 7 |
# This function will be able to generate text
|
| 8 |
# given an input.
|
| 9 |
pipe = pipeline("text2text-generation",
|
| 10 |
+
model="Quizzer/Context2Question")
|
| 11 |
|
| 12 |
# Define a function to handle the GET request at `/generate`
|
| 13 |
# The generate() function is defined as a FastAPI route that takes a
|