jsvs commited on
Commit
6e7d68c
·
1 Parent(s): 2cf00ee

update app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ app = FastAPI()
8
  # This function will be able to generate text
9
  # given an input.
10
  pipe = pipeline("text2text-generation",
11
- model="visoc/Text2Question")
12
 
13
  # Define a function to handle the GET request at `/generate`
14
  # The generate() function is defined as a FastAPI route that takes a
 
8
  # This function will be able to generate text
9
  # given an input.
10
  pipe = pipeline("text2text-generation",
11
+ model="visoc/Text2Question",use_auth_token=True)
12
 
13
  # Define a function to handle the GET request at `/generate`
14
  # The generate() function is defined as a FastAPI route that takes a