Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Realtime display logs with front-end support, using fastapi & jquery … #84

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

costlife
Copy link

@costlife costlife commented Mar 8, 2025

Features

  • Add front-end support
  • Display the result using streaming.

Influence
2 extra python libraries are required.
fastapi~=0.115.11
starlette~=0.46.0

by using this, please remove
image

Result
image

Other
Using log_interceptor, so that's why it works. no more modified in the codebase.

@costlife
Copy link
Author

costlife commented Mar 8, 2025

Simply run:

python  owl/web_server.py

and you'll instantly get an elegant, user-friendly front-end experience.

@zjrwtx
Copy link
Collaborator

zjrwtx commented Mar 8, 2025

thanks for your great job @costlife ,some front code may need to be polished and improve, iwill do that

@zjrwtx zjrwtx self-requested a review March 8, 2025 15:55
@zjrwtx
Copy link
Collaborator

zjrwtx commented Mar 10, 2025

hello @costlife 非常感谢你的贡献 但我们暂时用gradio做webdemo 因为这样迭代比较快 如果做标准web的话 最好是前后端分离 如nextjs+fastapi等范式 但这种范式实验环境迭代比较麻烦 如果你感兴趣的话 可以一起改gradio的webdemo哈

@costlife
Copy link
Author

hello @costlife 非常感谢你的贡献 但我们暂时用gradio做webdemo 因为这样迭代比较快 如果做标准web的话 最好是前后端分离 如nextjs+fastapi等范式 但这种范式实验环境迭代比较麻烦 如果你感兴趣的话 可以一起改gradio的webdemo哈

可以啊,很感兴趣。有组织可以加入吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants