Spaces:
Running on Zero
Running on Zero
misc syntax error fix
Browse files
app.py
CHANGED
|
@@ -123,7 +123,7 @@ with gr.Blocks(title="RFD3 Test") as demo:
|
|
| 123 |
def generate(config_ready, scaffold_ready, num_batches, num_designs_per_batch, length):
|
| 124 |
if config_ready is None or scaffold_ready is None:
|
| 125 |
return None, None
|
| 126 |
-
if config_ready
|
| 127 |
gen_directory, gen_results = unconditional_generation_with_input_config(config_upload)
|
| 128 |
return gen_directory, gen_results
|
| 129 |
if config_ready=="manual" and scaffold_ready=="no_input":
|
|
|
|
| 123 |
def generate(config_ready, scaffold_ready, num_batches, num_designs_per_batch, length):
|
| 124 |
if config_ready is None or scaffold_ready is None:
|
| 125 |
return None, None
|
| 126 |
+
if config_ready == "upload" and scaffold_ready == "no_input":
|
| 127 |
gen_directory, gen_results = unconditional_generation_with_input_config(config_upload)
|
| 128 |
return gen_directory, gen_results
|
| 129 |
if config_ready=="manual" and scaffold_ready=="no_input":
|