Spaces:
Runtime error
Runtime error
Commit
·
7e5338f
1
Parent(s):
b5b4a97
Added Font
Browse files
app.py
CHANGED
@@ -32,7 +32,8 @@ def car(Year,owners,sp,fuel,distance,tyype,trans):
|
|
32 |
return "The Price of Will be ₹" + ou + "L !"
|
33 |
# face = gr.Interface(fn=start, inputs=["text", "checkbox","N", gr.inputs.Slider(0, 100),gr.inputs.Radio(["add", "subtract", "multiply"])], outputs=["text", "number"])
|
34 |
# face.launch()
|
35 |
-
|
|
|
36 |
# ---------------------------------INPUTS :------------------------------
|
37 |
|
38 |
# in1=gr.inputs.Textbox(placeholder="En",label="MO")
|
@@ -46,11 +47,16 @@ in8=gr.inputs.Number(label='Showroom Price ₹(in LAKHS)【*】',default=0)
|
|
46 |
|
47 |
interface = gr.Interface(fn=car,
|
48 |
inputs=[in2,in3,in8,in5,in4,in6,in7],
|
49 |
-
outputs=["text"],title=
|
50 |
.gradio_bg[theme=default] .gradio_interface .panel_button.submit {
|
51 |
|
52 |
background-color: rgba(99, 102, 241, var(--tw-bg-opacity));
|
53 |
|
|
|
|
|
|
|
|
|
|
|
54 |
}"""
|
55 |
)
|
56 |
interface.launch(inline=False,share=True)
|
|
|
32 |
return "The Price of Will be ₹" + ou + "L !"
|
33 |
# face = gr.Interface(fn=start, inputs=["text", "checkbox","N", gr.inputs.Slider(0, 100),gr.inputs.Radio(["add", "subtract", "multiply"])], outputs=["text", "number"])
|
34 |
# face.launch()
|
35 |
+
ts= """
|
36 |
+
Used Car Price Prediction"""
|
37 |
# ---------------------------------INPUTS :------------------------------
|
38 |
|
39 |
# in1=gr.inputs.Textbox(placeholder="En",label="MO")
|
|
|
47 |
|
48 |
interface = gr.Interface(fn=car,
|
49 |
inputs=[in2,in3,in8,in5,in4,in6,in7],
|
50 |
+
outputs=["text"],title=ts,css="""
|
51 |
.gradio_bg[theme=default] .gradio_interface .panel_button.submit {
|
52 |
|
53 |
background-color: rgba(99, 102, 241, var(--tw-bg-opacity));
|
54 |
|
55 |
+
}
|
56 |
+
|
57 |
+
.gradio_page .title{
|
58 |
+
font-family: "Copperplate",Fantasy;
|
59 |
+
font-size: 47px;
|
60 |
}"""
|
61 |
)
|
62 |
interface.launch(inline=False,share=True)
|