Rausda6 commited on
Commit
7888a85
·
verified ·
1 Parent(s): f4d3811

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -13,9 +13,9 @@ import aiofiles
13
  import mimetypes
14
  from typing import List
15
 
16
- # New import for PDF parsing
17
  from PyPDF2 import PdfReader
18
 
 
19
  # Define model name clearly
20
  MODEL_NAME = "unsloth/gemma-3-1b-pt" # HuggingFaceH4/zephyr-7b-alpha
21
 
@@ -161,6 +161,9 @@ Follow this example structure:
161
  # ... rest of class unchanged ...
162
 
163
 
 
 
 
164
 
165
  async def _read_file_bytes(self, file_obj) -> bytes:
166
  """Read file bytes from a file object"""
 
13
  import mimetypes
14
  from typing import List
15
 
 
16
  from PyPDF2 import PdfReader
17
 
18
+
19
  # Define model name clearly
20
  MODEL_NAME = "unsloth/gemma-3-1b-pt" # HuggingFaceH4/zephyr-7b-alpha
21
 
 
161
  # ... rest of class unchanged ...
162
 
163
 
164
+ # ... rest of class unchanged ...
165
+
166
+
167
 
168
  async def _read_file_bytes(self, file_obj) -> bytes:
169
  """Read file bytes from a file object"""