manan commited on
Commit
4d113cd
1 Parent(s): 50ea320

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -1,15 +1,6 @@
1
  import gradio as gr
2
  import model
3
-
4
- example_input_1 = "Family-history-of-MI-OR-Family-history-of-myocardial-infarction"
5
- example_input_2 = """HPI: 17yo M presents with palpitations. Patient reports 3-4 months of intermittent episodes of "heart beating/pounding out of my chest." 2 days ago during a soccer game had an episode, but this time had chest pressure and felt as if he were going to pass out (did not lose conciousness). Of note patient endorses abusing adderall, primarily to study (1-3 times per week). Before recent soccer game, took adderrall night before and morning of game. Denies shortness of breath, diaphoresis, fevers, chills, headache, fatigue, changes in sleep, changes in vision/hearing, abdominal paun, changes in bowel or urinary habits.
6
- PMHx: none
7
- Rx: uses friends adderrall
8
- FHx: mom with "thyroid disease," dad with recent heart attcak
9
- All: none
10
- Immunizations: up to date
11
- SHx: Freshmen in college. Endorses 3-4 drinks 3 nights / week (on weekends), denies tabacco, endorses trying marijuana. Sexually active with girlfriend x 1 year, uses condoms"""
12
- example = [[example_input_1, example_input_2]]
13
 
14
  input_1 = gr.inputs.Textbox(lines=1, placeholder='Feature Text', default="", label=None, optional=False)
15
  input_2 = gr.inputs.Textbox(lines=5, placeholder='Patient History', default="", label=None, optional=False)
1
  import gradio as gr
2
  import model
3
+ from examples import example
 
 
 
 
 
 
 
 
 
4
 
5
  input_1 = gr.inputs.Textbox(lines=1, placeholder='Feature Text', default="", label=None, optional=False)
6
  input_2 = gr.inputs.Textbox(lines=5, placeholder='Patient History', default="", label=None, optional=False)