csalabs commited on
Commit
3df7084
1 Parent(s): 530c7b6

Update app.py

Browse files

Changes to App.py file

Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import gradio as gr
 
2
 
3
- def greet(name):
4
- return "Hello " + answer + "!!"
5
 
6
- iface = gr.Interface(fn=greet, inputs="text", outputs="ansewer")
7
  iface.launch()
 
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()