dkatz2391 commited on
Commit
96595f0
·
verified ·
1 Parent(s): a388960

remove spaces.gpu from generate sync

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -225,7 +225,6 @@ class GenerateRequest(BaseModel):
225
  # Add other generation parameters if needed
226
 
227
  @api_app.post("/api/generate-sync")
228
- @spaces.GPU(duration=300) # Allow longer duration for API calls
229
  async def generate_sync_api(request_data: GenerateRequest):
230
  global pipeline # Access the globally initialized pipeline
231
  if pipeline is None:
 
225
  # Add other generation parameters if needed
226
 
227
  @api_app.post("/api/generate-sync")
 
228
  async def generate_sync_api(request_data: GenerateRequest):
229
  global pipeline # Access the globally initialized pipeline
230
  if pipeline is None: