Spaces:
Runtime error
Runtime error
add suggestions and/or suggestions logic
Browse files
app.py
CHANGED
@@ -44,7 +44,12 @@ PROBLEMS = {
|
|
44 |
}
|
45 |
|
46 |
INIT_MARKDOWN = """
|
|
|
|
|
47 |
👈 Fill in as much data as you can...
|
|
|
|
|
|
|
48 |
|
49 |
|
50 |
|
@@ -120,7 +125,7 @@ def get_suggestions(task_type, model_name, problem_type):
|
|
120 |
return suggestions
|
121 |
|
122 |
# Demo shortcut: only a few sections are working
|
123 |
-
if PROBLEMS
|
124 |
return DEMO_MARKDOWN
|
125 |
|
126 |
return suggestions
|
|
|
44 |
}
|
45 |
|
46 |
INIT_MARKDOWN = """
|
47 |
+
|
48 |
+
|
49 |
👈 Fill in as much data as you can...
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
|
54 |
|
55 |
|
|
|
125 |
return suggestions
|
126 |
|
127 |
# Demo shortcut: only a few sections are working
|
128 |
+
if PROBLEMS.get(problem_type) not in ("", "length", "quality", "speed"):
|
129 |
return DEMO_MARKDOWN
|
130 |
|
131 |
return suggestions
|