Spaces:
Runtime error
Runtime error
Commit
·
83ae5e3
1
Parent(s):
b5568be
Update app.py
Browse filesUpdated the textbox type
app.py
CHANGED
|
@@ -22,7 +22,7 @@ description = "The term used to describe an adverse event in the Database of Adv
|
|
| 22 |
gr.Interface(
|
| 23 |
text_generation,
|
| 24 |
[gr.inputs.Textbox(lines=2, label="Enter Narrative or Phrase")],
|
| 25 |
-
[gr.outputs.Textbox(type="
|
| 26 |
title=title,
|
| 27 |
description=description,
|
| 28 |
theme="huggingface"
|
|
|
|
| 22 |
gr.Interface(
|
| 23 |
text_generation,
|
| 24 |
[gr.inputs.Textbox(lines=2, label="Enter Narrative or Phrase")],
|
| 25 |
+
[gr.outputs.Textbox(type="text", label="Extracted Preffered Term")],
|
| 26 |
title=title,
|
| 27 |
description=description,
|
| 28 |
theme="huggingface"
|