julicq commited on
Commit
17e463c
·
1 Parent(s): 99e13a2

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def chatbot_interface(prompt):
4
+ response = answer(prompt)
5
+ return response
6
+
7
+ iface = gr.Interface(fn=chatbot_interface, inputs=prompt_input, outputs=response_output)
8
+ iface.launch()