suresh9012 commited on
Commit
da5d7f7
·
verified ·
1 Parent(s): 80dcbfb

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def generate_floorplan(image):
4
+ # Filhal ye demo ke liye sirf message dega
5
+ return "Naksha ban raha hai... (yahan AI model connect hoga)"
6
+
7
+ iface = gr.Interface(
8
+ fn=generate_floorplan,
9
+ inputs=gr.Image(type="filepath", label="Makan ki tasveer upload karo"),
10
+ outputs="text",
11
+ title="Floorplan AI",
12
+ description="Makan ki image upload karo aur naksha banao."
13
+ )
14
+
15
+ iface.launch()