jina-ai / jina

☁️ Build multimodal AI applications with cloud-native stack
https://docs.jina.ai
Apache License 2.0
20.63k stars 2.21k forks source link

Integrating gradio demo #6034

Open Ankur-singh opened 10 months ago

Ankur-singh commented 10 months ago

Goals:

resolves #6026

Ankur-singh commented 10 months ago

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.

codecov[bot] commented 10 months ago

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