[falcon] removed api_name="/predict"
Browse files
app.py
CHANGED
@@ -577,7 +577,7 @@ async def falcon(ctx, *, prompt: str):
|
|
577 |
|
578 |
#fn 5 -> fn 1
|
579 |
# will give something like = /tmp/tmpklf60u2h.json, which will contain something like [["What day is today?", "Today"]] (prompt, generation)
|
580 |
-
job = falconspace.submit(prompt, result, instructions, 0.8, 0.9, fn_index=1
|
581 |
job.result()
|
582 |
'''
|
583 |
result2 = falconspace.predict(
|
|
|
577 |
|
578 |
#fn 5 -> fn 1
|
579 |
# will give something like = /tmp/tmpklf60u2h.json, which will contain something like [["What day is today?", "Today"]] (prompt, generation)
|
580 |
+
job = falconspace.submit(prompt, result, instructions, 0.8, 0.9, fn_index=1) # This is not blocking
|
581 |
job.result()
|
582 |
'''
|
583 |
result2 = falconspace.predict(
|