File size: 894 Bytes
8b8c9d3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Fal.ai deployment configuration for BuildTheFuture
app:
  name: buildthefuture
  version: "1.0.0"
  description: "AI-Powered Completion of Unfinished Constructions using Gemini 2.5 Flash Image"

runtime:
  python_version: "3.9"
  memory: "2GB"
  cpu: "2 cores"

dependencies:
  - gradio==4.44.0
  - google-generativeai==0.8.3
  - ultralytics==8.3.0
  - opencv-python==4.9.0.80
  - pillow==10.4.0
  - numpy==1.26.4
  - requests==2.31.0
  - elevenlabs==1.7.0
  - python-dotenv==1.0.1

environment:
  GEMINI_API_KEY: "${GEMINI_API_KEY}"
  ELEVENLABS_API_KEY: "${ELEVENLABS_API_KEY}"

endpoints:
  - path: "/"
    method: "GET"
    handler: "app:demo"
  - path: "/api/process"
    method: "POST"
    handler: "app:process_image"

health_check:
  path: "/health"
  timeout: 30

scaling:
  min_instances: 1
  max_instances: 10
  target_cpu_utilization: 70