jina icon indicating copy to clipboard operation
jina copied to clipboard

Integrating gradio demo

Open Ankur-singh opened this issue 1 year ago • 2 comments

Goals:

resolves #6026

  • [ ] Add basic static gradio App
  • [ ] Make the app dynamic i.e. update the input and output blocks based on input and output model
  • [ ] call executor to close the loop (input -> executor -> output)

Ankur-singh avatar Aug 27 '23 20:08 Ankur-singh

I have added the basic code but for some reason gradio app is not working. I will give it another try in a day or two.

Another issue that I can use some help is, how to get hold of executor directly w/o creating the request and response objects. Once I have the input from the gradio app, I want a way to directly call the executor's main method.

Ankur-singh avatar Aug 27 '23 20:08 Ankur-singh

Codecov Report

Merging #6034 (96b81ea) into master (23c7b8c) will decrease coverage by 3.59%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #6034      +/-   ##
==========================================
- Coverage   77.58%   74.00%   -3.59%     
==========================================
  Files         144      144              
  Lines       13788    13827      +39     
==========================================
- Hits        10697    10232     -465     
- Misses       3091     3595     +504     
Flag Coverage Δ
jina 74.00% <0.00%> (-3.59%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
jina/serve/runtimes/worker/http_fastapi_app.py 0.00% <0.00%> (-82.15%) :arrow_down:

... and 25 files with indirect coverage changes

codecov[bot] avatar Aug 28 '23 19:08 codecov[bot]