Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,8 @@ def infer(
|
|
37 |
|
38 |
if temperature == 0.0:
|
39 |
temperature = 0.01
|
40 |
-
|
|
|
41 |
my_post_dict = {
|
42 |
"model": "Together-gpt-JT-6B-v1",
|
43 |
"prompt": prompt,
|
|
|
37 |
|
38 |
if temperature == 0.0:
|
39 |
temperature = 0.01
|
40 |
+
if prompt=="":
|
41 |
+
prompt = " "
|
42 |
my_post_dict = {
|
43 |
"model": "Together-gpt-JT-6B-v1",
|
44 |
"prompt": prompt,
|