ps1811 commited on
Commit
1213b01
·
verified ·
1 Parent(s): dd2a5cf
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -104,14 +104,13 @@
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()
 
104
 
105
  import gradio as gr
106
 
107
+ def predict(x):
108
+ return "Advisor working"
109
 
110
  demo = gr.Interface(
111
  fn=predict,
112
+ inputs="text",
113
+ outputs="text"
 
114
  )
115
 
116
  demo.launch()