IvanMiao commited on
Commit
84a1425
·
1 Parent(s): 79a1ae4

small change in app

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +0 -74
app.py CHANGED
@@ -52,7 +52,7 @@ def ocr_workflow_wrapper(file: File, mistral_key: str):
52
 
53
  try:
54
  result = perform_raw_ocr(file, mistral_key)
55
- yield result, f"\n{result}\n"
56
  except Exception as e:
57
  error_msg = f"An error occurred during processing: {str(e)}"
58
  yield error_msg, error_msg
 
52
 
53
  try:
54
  result = perform_raw_ocr(file, mistral_key)
55
+ yield result, result
56
  except Exception as e:
57
  error_msg = f"An error occurred during processing: {str(e)}"
58
  yield error_msg, error_msg
requirements.txt DELETED
@@ -1,74 +0,0 @@
1
- aiofiles==24.1.0
2
- annotated-types==0.7.0
3
- anyio==4.9.0
4
- audioop-lts==0.2.1
5
- beautifulsoup4==4.13.4
6
- cachetools==5.5.2
7
- certifi==2025.4.26
8
- charset-normalizer==3.4.2
9
- click==8.2.1
10
- distro==1.9.0
11
- eval-type-backport==0.2.2
12
- fastapi==0.115.12
13
- ffmpy==0.6.0
14
- filelock==3.18.0
15
- fsspec==2025.5.1
16
- google-auth==2.40.3
17
- google-genai==1.19.0
18
- gradio==5.33.0
19
- gradio-client==1.10.2
20
- groovy==0.1.2
21
- h11==0.16.0
22
- hf-xet==1.1.3
23
- httpcore==1.0.9
24
- httpx==0.28.1
25
- httpx-sse==0.4.0
26
- huggingface-hub==0.32.4
27
- idna==3.10
28
- jinja2==3.1.6
29
- jiter==0.10.0
30
- markdown-it-py==3.0.0
31
- markupsafe==3.0.2
32
- mcp==1.9.0
33
- mdurl==0.1.2
34
- mistralai==1.8.1
35
- numpy==2.2.6
36
- openai==1.84.0
37
- orjson==3.10.18
38
- packaging==25.0
39
- pandas==2.3.0
40
- pillow==11.2.1
41
- pyasn1==0.6.1
42
- pyasn1-modules==0.4.2
43
- pydantic==2.11.5
44
- pydantic-core==2.33.2
45
- pydantic-settings==2.9.1
46
- pydub==0.25.1
47
- pygments==2.19.1
48
- python-dateutil==2.9.0.post0
49
- python-dotenv==1.1.0
50
- python-multipart==0.0.20
51
- pytz==2025.2
52
- pyyaml==6.0.2
53
- requests==2.32.3
54
- rich==14.0.0
55
- rsa==4.9.1
56
- ruff==0.11.12
57
- safehttpx==0.1.6
58
- semantic-version==2.10.0
59
- shellingham==1.5.4
60
- six==1.17.0
61
- sniffio==1.3.1
62
- soupsieve==2.7
63
- sse-starlette==2.3.6
64
- starlette==0.46.2
65
- tomlkit==0.13.3
66
- tqdm==4.67.1
67
- typer==0.16.0
68
- typing-extensions==4.14.0
69
- typing-inspection==0.4.1
70
- tzdata==2025.2
71
- urllib3==2.4.0
72
- uvicorn==0.34.3
73
- websockets==15.0.1
74
- wikipedia==1.4.0