Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +21 -9
requirements.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
# 한국어 OCR 애플리케이션
|
2 |
-
# Google Gemini
|
3 |
|
4 |
# 웹 인터페이스 - Gradio
|
5 |
gradio==4.44.0
|
@@ -11,7 +11,16 @@ Pillow==10.4.0
|
|
11 |
requests==2.32.3
|
12 |
|
13 |
# ==================================================
|
14 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
# ==================================================
|
16 |
|
17 |
# JSON 처리 (Python 기본 라이브러리)
|
@@ -39,15 +48,18 @@ requests==2.32.3
|
|
39 |
# random
|
40 |
|
41 |
# ==================================================
|
42 |
-
# 설치 명령어
|
43 |
# ==================================================
|
44 |
# pip install -r requirements.txt
|
45 |
#
|
46 |
# 또는 개별 설치:
|
47 |
# pip install gradio==4.44.0 Pillow==10.4.0 requests==2.32.3
|
48 |
#
|
49 |
-
# 가상환경 사용
|
50 |
-
# python -m venv
|
51 |
-
# source
|
52 |
-
#
|
53 |
-
# pip install -r requirements.txt
|
|
|
|
|
|
|
|
1 |
+
# 한국어 OCR 애플리케이션 - Gemini 2.0 전용 버전
|
2 |
+
# Google Gemini 2.0 모델만을 사용하는 텍스트 추출 시스템
|
3 |
|
4 |
# 웹 인터페이스 - Gradio
|
5 |
gradio==4.44.0
|
|
|
11 |
requests==2.32.3
|
12 |
|
13 |
# ==================================================
|
14 |
+
# Gemini 2.0 전용 최적화 패키지
|
15 |
+
# ==================================================
|
16 |
+
# - Google AI Studio 제거됨
|
17 |
+
# - Vertex AI 제거됨
|
18 |
+
# - Gemini 2.0 Flash & Experimental만 지원
|
19 |
+
# - 최대 10MB 이미지 처리 지원
|
20 |
+
# - 한국어 OCR 전문 최적화
|
21 |
+
|
22 |
+
# ==================================================
|
23 |
+
# Python 기본 라이브러리 (설치 불필요)
|
24 |
# ==================================================
|
25 |
|
26 |
# JSON 처리 (Python 기본 라이브러리)
|
|
|
48 |
# random
|
49 |
|
50 |
# ==================================================
|
51 |
+
# Gemini 2.0 전용 설치 명령어
|
52 |
# ==================================================
|
53 |
# pip install -r requirements.txt
|
54 |
#
|
55 |
# 또는 개별 설치:
|
56 |
# pip install gradio==4.44.0 Pillow==10.4.0 requests==2.32.3
|
57 |
#
|
58 |
+
# 가상환경 사용 권장 (Gemini 2.0 전용):
|
59 |
+
# python -m venv gemini2_ocr_env
|
60 |
+
# source gemini2_ocr_env/bin/activate # Linux/Mac
|
61 |
+
# gemini2_ocr_env\Scripts\activate # Windows
|
62 |
+
# pip install -r requirements.txt
|
63 |
+
#
|
64 |
+
# Gemini 2.0 API 키 필요:
|
65 |
+
# https://aistudio.google.com/ 에서 발급
|