Chitti_ver1 / app.py
Pavankalyan's picture
Upload 7 files
17283b0
raw
history blame
326 Bytes
import gradio as gr
from data_process import *
from retrieval import *
df = pd.read_csv("Responses.csv")
text = list(df["text"].values)
def chitti(query):
re_table = search(query, text)
return re_table[0][0]
demo = gr.Interface(
fn=chitti,
inputs=["text"],
outputs=["text"],
)
demo.launch(share=True)