Update app.py
Browse filesChanges to App.py file
app.py
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
-
def greet(
|
4 |
-
return
|
5 |
|
6 |
-
iface = gr.Interface(fn=greet, inputs=
|
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()
|