Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,13 +15,12 @@ from fastapi import FastAPI, BackgroundTasks, HTTPException, status
|
|
| 15 |
from pydantic import BaseModel, Field
|
| 16 |
from huggingface_hub import HfApi, hf_hub_download
|
| 17 |
|
| 18 |
-
#
|
| 19 |
-
AUTO_START_INDEX = 376 # Hardcoded default start index if no progress is found
|
| 20 |
FLOW_ID = os.getenv("FLOW_ID", "flow_default")
|
| 21 |
FLOW_PORT = int(os.getenv("FLOW_PORT", 8001))
|
| 22 |
HF_TOKEN = os.getenv("HF_TOKEN", "")
|
| 23 |
HF_DATASET_ID = os.getenv("HF_DATASET_ID", "Fred808/BG3") # Source dataset for zip files
|
| 24 |
-
HF_OUTPUT_DATASET_ID = os.getenv("HF_OUTPUT_DATASET_ID", "
|
| 25 |
|
| 26 |
# Progress and State Tracking
|
| 27 |
PROGRESS_FILE = Path("processing_progress.json")
|
|
|
|
| 15 |
from pydantic import BaseModel, Field
|
| 16 |
from huggingface_hub import HfApi, hf_hub_download
|
| 17 |
|
| 18 |
+
AUTO_START_INDEX = 951 # Hardcoded default start index if no progress is found
|
|
|
|
| 19 |
FLOW_ID = os.getenv("FLOW_ID", "flow_default")
|
| 20 |
FLOW_PORT = int(os.getenv("FLOW_PORT", 8001))
|
| 21 |
HF_TOKEN = os.getenv("HF_TOKEN", "")
|
| 22 |
HF_DATASET_ID = os.getenv("HF_DATASET_ID", "Fred808/BG3") # Source dataset for zip files
|
| 23 |
+
HF_OUTPUT_DATASET_ID = os.getenv("HF_OUTPUT_DATASET_ID", "samelias1/helium") # Target dataset for captions
|
| 24 |
|
| 25 |
# Progress and State Tracking
|
| 26 |
PROGRESS_FILE = Path("processing_progress.json")
|