Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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="
|
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()
|