Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
4 |
def greet(name):
|
5 |
-
gr.Markdown("# AIN311 Project P05 - MOOC Recommendation")
|
6 |
return "Hello " + name + "!!"
|
7 |
|
8 |
-
|
|
|
|
|
9 |
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
|
|
3 |
def greet(name):
|
|
|
4 |
return "Hello " + name + "!!"
|
5 |
|
6 |
+
with gr.Blocks() as user:
|
7 |
+
gr.Markdown("# AIN311 Project P05 - MOOC Recommendation")
|
8 |
+
iface = gr.Interface(fn=user, inputs="text", outputs="text")
|
9 |
iface.launch()
|