Synced repo using 'sync_with_huggingface' Github Action
Browse files
app.py
CHANGED
@@ -602,7 +602,7 @@ async def falconprivate(ctx, *, prompt: str):
|
|
602 |
job = falconclient.submit(prompt, chathistory, instructions, 0.8, 0.9, fn_index=1) # This is not blocking, similar to run_in_executor (but better)
|
603 |
while job.done() == False:
|
604 |
status = job.status() # could be spammy, let's test anyways
|
605 |
-
print(status)
|
606 |
else:
|
607 |
file_paths = job.outputs()
|
608 |
full_generation = file_paths[-1] # tmp12345678.json
|
@@ -630,7 +630,7 @@ async def falconprivate(ctx, *, prompt: str):
|
|
630 |
job = falconclient.submit(prompt, chathistory, instructions, 0.8, 0.9, fn_index=1) # This is not blocking, similar to run_in_executor (but better)
|
631 |
while job.done() == False:
|
632 |
status = job.status() # could be spammy, let's test anyways
|
633 |
-
print(status)
|
634 |
else:
|
635 |
file_paths = job.outputs()
|
636 |
full_generation = file_paths[-1] # tmp12345678.json
|
|
|
602 |
job = falconclient.submit(prompt, chathistory, instructions, 0.8, 0.9, fn_index=1) # This is not blocking, similar to run_in_executor (but better)
|
603 |
while job.done() == False:
|
604 |
status = job.status() # could be spammy, let's test anyways
|
605 |
+
#print(status)
|
606 |
else:
|
607 |
file_paths = job.outputs()
|
608 |
full_generation = file_paths[-1] # tmp12345678.json
|
|
|
630 |
job = falconclient.submit(prompt, chathistory, instructions, 0.8, 0.9, fn_index=1) # This is not blocking, similar to run_in_executor (but better)
|
631 |
while job.done() == False:
|
632 |
status = job.status() # could be spammy, let's test anyways
|
633 |
+
#print(status)
|
634 |
else:
|
635 |
file_paths = job.outputs()
|
636 |
full_generation = file_paths[-1] # tmp12345678.json
|