udyan2's picture
Update app.py
e46afe4
raw
history blame contribute delete
299 Bytes
import gradio as gr
import run_inference
def prediction(patient_record):
patient_record = str(patient_record)
run_inference.main()
demo = gr.Interface(
fn=prediction,
inputs=gr.Textbox(lines=2, placeholder="Enter the patient record here "),
outputs="text",
)
demo.launch()