tcvrishank commited on
Commit
91ac963
Β·
verified Β·
1 Parent(s): 4f0665c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,5 +29,5 @@ def return_prediction(image):
29
  final = f"This histopathology image shows a cell population that indicates a risk score of {round(result['score'], 2) + 1}. Image suggests high risk of recurrence."
30
  return final
31
 
32
- demo = gr.Interface(fn=return_prediction, inputs="image", outputs="text")
33
  demo.launch()
 
29
  final = f"This histopathology image shows a cell population that indicates a risk score of {round(result['score'], 2) + 1}. Image suggests high risk of recurrence."
30
  return final
31
 
32
+ demo = gr.Interface(fn=return_prediction, inputs="pdf", outputs="text")
33
  demo.launch()