Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from getpass import getpass
|
|
10 |
TOKEN = os.getenv('HUGGING_FACE_HUB_TOKEN')
|
11 |
|
12 |
|
13 |
-
question_answerer =pipeline("text-generation", model="
|
14 |
|
15 |
|
16 |
def get_text_from_pdf(pdf_file: Union[str, Path]) -> str:
|
|
|
10 |
TOKEN = os.getenv('HUGGING_FACE_HUB_TOKEN')
|
11 |
|
12 |
|
13 |
+
question_answerer =pipeline("text-generation", model="HuggingFaceH4/zephyr-7b-alpha")
|
14 |
|
15 |
|
16 |
def get_text_from_pdf(pdf_file: Union[str, Path]) -> str:
|