Uploading blood request emergency text classifier demo app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ Fine-tuned from [DistilBERT](https://huggingface.co/distilbert/distilbert-base-u
|
|
| 32 |
See [source code on GitHub](https://github.com/AshenFdo/Blood-Request-Emergency-Classification-Model).
|
| 33 |
"""
|
| 34 |
|
| 35 |
-
demo = gr.Interface(fn=
|
| 36 |
inputs=gr.Textbox(
|
| 37 |
lines=4,
|
| 38 |
placeholder="Enter a blood request message here...",
|
|
|
|
| 32 |
See [source code on GitHub](https://github.com/AshenFdo/Blood-Request-Emergency-Classification-Model).
|
| 33 |
"""
|
| 34 |
|
| 35 |
+
demo = gr.Interface(fn=blood_request_classifier,
|
| 36 |
inputs=gr.Textbox(
|
| 37 |
lines=4,
|
| 38 |
placeholder="Enter a blood request message here...",
|