Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ print("Secure Encoding -- data owner")
|
|
| 13 |
print("===============================")
|
| 14 |
|
| 15 |
# Input data as a text box
|
| 16 |
-
data = gr.Textbox.
|
| 17 |
|
| 18 |
# capture the user input
|
| 19 |
user_input = data.value
|
|
|
|
| 13 |
print("===============================")
|
| 14 |
|
| 15 |
# Input data as a text box
|
| 16 |
+
data = gr.Textbox.input(label="Enter patient smoking status (smoker/non-smoker):", type="string")
|
| 17 |
|
| 18 |
# capture the user input
|
| 19 |
user_input = data.value
|