Spaces:
Runtime error
Runtime error
Commit
·
71bde67
1
Parent(s):
d642165
Add application file
Browse files
app.py
CHANGED
@@ -98,9 +98,14 @@ def greet(name):
|
|
98 |
|
99 |
|
100 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
101 |
name = gr.Textbox(label="Enter any skill")
|
|
|
102 |
greet_btn = gr.Button("Submit")
|
103 |
-
greet_btn.click(fn=recommend_courses, inputs=name, outputs=
|
104 |
|
105 |
# demo.launch()
|
106 |
# # Gradio interface
|
|
|
98 |
|
99 |
|
100 |
with gr.Blocks() as demo:
|
101 |
+
gr.Markdown(
|
102 |
+
"""
|
103 |
+
Welcome to the skill transformation journey on SWAYAM!!!
|
104 |
+
""")
|
105 |
name = gr.Textbox(label="Enter any skill")
|
106 |
+
output = gr.HTML(label = "Here is your skill transformation journey")
|
107 |
greet_btn = gr.Button("Submit")
|
108 |
+
greet_btn.click(fn=recommend_courses, inputs=name, outputs=output, api_name="recommend_courses")
|
109 |
|
110 |
# demo.launch()
|
111 |
# # Gradio interface
|