DIARC / app.py
Zakia's picture
add brackets
56e6fe5
raw
history blame
531 Bytes
# Bismillahir Rahmaanir Raheem
# Almadadh Ya Gause RadiAllahu Ta'alah Anh - Ameen
# <font color=grey>DIabetes-related Amputation Risk Calculator (DIARC)</font>
# <b>_by Zakia Salod_</b>
import gradio as gr
def diabetes_related_amputation_risk_calc(age, gender, race, diabetes_type):
age = 36
gender = 'Female'
race = 'Asian'
diabetes_type = 'Type 1'
return gender
iface = gr.Interface(
fn=diabetes_related_amputation_risk_calc,
inputs=["text", "checkbox", "checkbox", "checkbox"]), outputs=["text"])
iface.launch()