lunarflu
commited on
Commit
·
9cd68da
1
Parent(s):
1f8cdd1
Update falcon.py
Browse files
falcon.py
CHANGED
|
@@ -33,7 +33,7 @@ def falcon_initial_generation(prompt, instructions, thread):
|
|
| 33 |
job = falcon_client.submit(
|
| 34 |
prompt, chathistory, instructions, temperature, p_nucleus_sampling, fn_index=1
|
| 35 |
)
|
| 36 |
-
|
| 37 |
if os.environ.get("TEST_ENV") == "True":
|
| 38 |
print("falcon text gen job done")
|
| 39 |
file_paths = job.outputs()
|
|
|
|
| 33 |
job = falcon_client.submit(
|
| 34 |
prompt, chathistory, instructions, temperature, p_nucleus_sampling, fn_index=1
|
| 35 |
)
|
| 36 |
+
wait([job])
|
| 37 |
if os.environ.get("TEST_ENV") == "True":
|
| 38 |
print("falcon text gen job done")
|
| 39 |
file_paths = job.outputs()
|