csalabs commited on
Commit
b3978cc
·
1 Parent(s): 7f5ca98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,8 +1,8 @@
1
  import gradio as gr
2
  from run_localGPT import main
3
 
4
- def greet(query):
5
- return answer
6
 
7
- iface = gr.Interface(fn=greet, inputs=query, outputs=answer)
8
  iface.launch()
 
1
  import gradio as gr
2
  from run_localGPT import main
3
 
4
+ def greet(name):
5
+ return "Hello" + + "I am from CSA"
6
 
7
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
8
  iface.launch()