Code Monkey home page Code Monkey logo

Comments (5)

25gabriel-cmyk avatar 25gabriel-cmyk commented on June 21, 2024 2

@uwedisch
Find the streamlit configuration on
/your-TGCF-directory/.venv/lib/python3.~/site-packages/streamlit/config.py

Screenshot 2024-03-31 215042

Change the default value to any port of your choice and restart your TGCF

@poliandro
Yes, i run three different TGCF instances, each serving a different purpose, on the same machine/VPS with three different TG APIs and hashes

from tgcf.

25gabriel-cmyk avatar 25gabriel-cmyk commented on June 21, 2024

I run three instances of TGCF on the same machine, each with a different port and using a different Python virtual environment without any issues. TGCF 1 runs on the default Streamlit port, 8501, while TGCF 2 and 3 run on my chosen ports, which i configured by changing the default Streamlit port in the Streamlit configuration.

from tgcf.

uwedisch avatar uwedisch commented on June 21, 2024

Where in the configuration?
What parameters to provide?

from tgcf.

poliandro avatar poliandro commented on June 21, 2024

Why do you run 3 instances? Do you use 3 different api_id and api_hash?

from tgcf.

uwedisch avatar uwedisch commented on June 21, 2024

@uwedisch Find the streamlit configuration on /your-TGCF-directory/.venv/lib/python3.~/site-packages/streamlit/config.py

Screenshot 2024-03-31 215042

Change the default value to any port of your choice and restart your TGCF

What is about updates when config.py receiving changes because of changed package? Are getting these changes and my changes merged?

from tgcf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.