app.py
CHANGED
|
@@ -104,10 +104,14 @@
|
|
| 104 |
|
| 105 |
import gradio as gr
|
| 106 |
|
| 107 |
-
def
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
|
| 112 |
-
demo = build_app()
|
| 113 |
demo.launch()
|
|
|
|
| 104 |
|
| 105 |
import gradio as gr
|
| 106 |
|
| 107 |
+
def predict():
|
| 108 |
+
return "Advisor is running successfully"
|
| 109 |
+
|
| 110 |
+
demo = gr.Interface(
|
| 111 |
+
fn=predict,
|
| 112 |
+
inputs=[],
|
| 113 |
+
outputs="text",
|
| 114 |
+
title="Advisor"
|
| 115 |
+
)
|
| 116 |
|
|
|
|
| 117 |
demo.launch()
|