Pisethan commited on
Commit
6d02010
·
verified ·
1 Parent(s): c5d8c3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,8 +41,8 @@ def predict(input_text):
41
  difficulty = metadata.get("difficulty", "Unknown")
42
  steps = metadata.get("steps", ["No steps available"])
43
 
44
- # Create a simple result string
45
- steps_text = "\n".join(f"- {step}" for step in steps)
46
  simple_result = (
47
  f"Category: {label}\n"
48
  f"Confidence: {score:.2f}\n"
 
41
  difficulty = metadata.get("difficulty", "Unknown")
42
  steps = metadata.get("steps", ["No steps available"])
43
 
44
+ # Create a simple result string without dashes
45
+ steps_text = "\n".join(steps) # No dash or prefix for each step
46
  simple_result = (
47
  f"Category: {label}\n"
48
  f"Confidence: {score:.2f}\n"