File size: 598 Bytes
1e20656
 
5c5b397
 
 
 
063ea49
 
5c5b397
4920d02
 
 
 
 
5c5b397
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#Bismillahir Rahmaanir Raheem
#Almadadh Ya Gause RadiAllahu Ta'alah Anh - Ameen


import gradio as gr

def greet(name):
    return "Hello " + name + "!!"



title = "DIabetes-related Amputation Risk Calculator (DIARC)"
description = "A diabetes-related amputation machine learning model trained on the diabetes dataset from the Inkosi Albert Luthuli Central Hospital (IALCH), KwaZulu-Natal, South Africa, using Pycaret. Created as a demo with Gradio and hosted on HuggingFace Spaces"
iface = gr.Interface(fn=greet, title=title, description=description, inputs="text", outputs="text")
iface.launch()