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

Run script without streamlit #7

Open
Anas099X opened this issue Dec 4, 2023 · 1 comment
Open

Run script without streamlit #7

Anas099X opened this issue Dec 4, 2023 · 1 comment

Comments

@Anas099X
Copy link

Anas099X commented Dec 4, 2023

Issue you'd like to raise.

Hey. I was wondering if there was a way to run the app.py script without need for streamlit. I want to do that so I can run it on my own program/website later.

Suggestion:

No response

@Lin-jun-xiang
Copy link
Owner

@Anas099X

You can just call the create_doc_gpt and get_response function in your script.

docGPT-langchain/app.py

Lines 10 to 11 in f369908

from components import get_response, side_bar, theme, upload_and_process_document
from docGPT import create_doc_gpt

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

No branches or pull requests

2 participants