Spaces:
Runtime error
Runtime error
jackyliang42
commited on
Commit
·
8c6fc5d
1
Parent(s):
2f89158
minor bug fix
Browse files
app.py
CHANGED
@@ -108,10 +108,10 @@ class DemoRunner:
|
|
108 |
|
109 |
def setup(api_key, model_name, n_blocks, n_bowls):
|
110 |
if not api_key:
|
111 |
-
return 'Please enter your OpenAI API key!', None
|
112 |
|
113 |
if n_blocks + n_bowls == 0:
|
114 |
-
return 'Please select at least one object!', None
|
115 |
|
116 |
demo_runner = DemoRunner()
|
117 |
|
|
|
108 |
|
109 |
def setup(api_key, model_name, n_blocks, n_bowls):
|
110 |
if not api_key:
|
111 |
+
return 'Please enter your OpenAI API key!', None, None
|
112 |
|
113 |
if n_blocks + n_bowls == 0:
|
114 |
+
return 'Please select at least one object!', None, None
|
115 |
|
116 |
demo_runner = DemoRunner()
|
117 |
|