Dmgautomata commited on
Commit
08a42e1
·
verified ·
1 Parent(s): 1f0edac

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ sys.path.insert(0, "/tmp/Netlistify")
21
  # Hugging Face Token aus Environment Variable oder Space Secrets
22
  HF_TOKEN = os.getenv("HF_TOKEN") or os.getenv("HUGGING_FACE_HUB_TOKEN")
23
 
24
- @spaces.GPU(duration=10800) # 3 Stunden für Training
25
  def train_netlistify(
26
  dataset_repo_id: str,
27
  epochs: int = 10,
 
21
  # Hugging Face Token aus Environment Variable oder Space Secrets
22
  HF_TOKEN = os.getenv("HF_TOKEN") or os.getenv("HUGGING_FACE_HUB_TOKEN")
23
 
24
+ @spaces.GPU(duration=3600) # 1 Stunde für Training (ZeroGPU Limit)
25
  def train_netlistify(
26
  dataset_repo_id: str,
27
  epochs: int = 10,