Tyler Lastovich
commited on
Commit
·
622813c
1
Parent(s):
3e011e6
Update app.py
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ model_options = {
|
|
133 |
"GPT-J": "gpt-j",
|
134 |
}
|
135 |
|
136 |
-
def start(
|
137 |
model = "Curie Instruct (OpenAI)"
|
138 |
if not text or not types or not model:
|
139 |
return "Error: Please supply an input"
|
|
|
133 |
"GPT-J": "gpt-j",
|
134 |
}
|
135 |
|
136 |
+
def start(types=None, text=None):
|
137 |
model = "Curie Instruct (OpenAI)"
|
138 |
if not text or not types or not model:
|
139 |
return "Error: Please supply an input"
|