Rishit commited on
Commit
145beea
·
verified ·
1 Parent(s): 1241b0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -46,12 +46,12 @@ def create_gradio_interface():
46
  # Input components for the user's details (using gr.components instead of gr.inputs)
47
  name_input = gr.Textbox(label="Name", placeholder="Enter your name")
48
  year_input = gr.Number(label="Year of Birth")
49
- day_input = gr.Number(label="Day of Birth")
50
- month_input = gr.Number(label="Month of Birth")
51
  hour_input = gr.Number(label="Hour of Birth (24-hour format)")
52
  minutes_input = gr.Number(label="Minute of Birth")
53
  city_input = gr.Textbox(label="City of Birth", placeholder="Enter the city of your birth")
54
- nation_input = gr.Textbox(label="Nation (Country Code)", placeholder="Enter the country code (e.g., IN)")
55
  question_input = gr.Textbox(label="Your Question for the Guru", placeholder="Enter your personal question (e.g., What is my career path?)")
56
 
57
  # Output component for the response (using gr.components instead of gr.outputs)
 
46
  # Input components for the user's details (using gr.components instead of gr.inputs)
47
  name_input = gr.Textbox(label="Name", placeholder="Enter your name")
48
  year_input = gr.Number(label="Year of Birth")
49
+ day_input = gr.Number(label="Month of Birth")
50
+ month_input = gr.Number(label="Day of Birth")
51
  hour_input = gr.Number(label="Hour of Birth (24-hour format)")
52
  minutes_input = gr.Number(label="Minute of Birth")
53
  city_input = gr.Textbox(label="City of Birth", placeholder="Enter the city of your birth")
54
+ nation_input = gr.Textbox(label="Nation (Country Code)", placeholder="Enter the country code (e.g., IN, US)")
55
  question_input = gr.Textbox(label="Your Question for the Guru", placeholder="Enter your personal question (e.g., What is my career path?)")
56
 
57
  # Output component for the response (using gr.components instead of gr.outputs)