lunarflu HF Staff commited on
Commit
e00b8b9
·
1 Parent(s): bc1c205

[falcon] removed api_name="/predict"

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, api_name="/predict") # This is not blocking
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(