Spaces:
Runtime error
Runtime error
Commit
•
e753dba
1
Parent(s):
ff60145
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def main(models: str = None, default_text: str = None):
|
|
18 |
#y = st.number_input('Diamond Width (Y) in mm:', min_value=0.1, max_value=100.0, value=1.0)
|
19 |
#z = st.number_input('Diamond Height (Z) in mm:', min_value=0.1, max_value=100.0, value=1.0)
|
20 |
|
21 |
-
models = "
|
22 |
default_text = "The patient had surgery."
|
23 |
models = [name.strip() for name in models.split(",")]
|
24 |
labels = ["person", "problem", "pronoun", "test", "treatment"]
|
|
|
18 |
#y = st.number_input('Diamond Width (Y) in mm:', min_value=0.1, max_value=100.0, value=1.0)
|
19 |
#z = st.number_input('Diamond Height (Z) in mm:', min_value=0.1, max_value=100.0, value=1.0)
|
20 |
|
21 |
+
models = "training/model-best"
|
22 |
default_text = "The patient had surgery."
|
23 |
models = [name.strip() for name in models.split(",")]
|
24 |
labels = ["person", "problem", "pronoun", "test", "treatment"]
|