amitpuri commited on
Commit
7f1cae9
1 Parent(s): c3fc45d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def test_handler(optionSelection, prompt: str = "Write an introductory paragraph
39
  return "", ""
40
  case "Llama 2":
41
  return "", ""
42
- else:
43
  if optionSelection not in llm_api_options:
44
  return ValueError("Invalid choice!"), ""
45
 
 
39
  return "", ""
40
  case "Llama 2":
41
  return "", ""
42
+ case _:
43
  if optionSelection not in llm_api_options:
44
  return ValueError("Invalid choice!"), ""
45