0% found this document useful (0 votes)
26 views

streamlit installation

Uploaded by

Anil Kumar Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

streamlit installation

Uploaded by

Anil Kumar Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

conda install conda-forge::streamlit

pip install hydralit-components

pip install audio-recorder-streamlit

https://www.reddit.com/r/youtube/comments/1bhqf0i/
youtube_to_mp3_converters/?rdt=63776

https://cobalt.tools/ --> download mp3 from youtube links

https://vocali.se/en

https://github.com/lllyasviel/Fooocus?tab=readme-ov-file

https://www.youtube.com/watch?v=gZhnHoe1s-g

https://www.youtube.com/watch?v=ixB9oalT3cQ

https://www.youtube.com/watch?v=85GKLbqEu08

!wget https://github.com/cloudflare/cloudflared/releases/latest/download/
cloudflared-linux-amd64.deb

!dpkg -i cloudflared-linux-amd64.deb

!pip install pygit2==1.12.2

%cd /content
!git clone https://github.com/lllyasviel/Fooocus.git

%cd /content/Fooocus

!python entry_with_update.py --share --always-high-vram

https://github.com/lllyasviel/Fooocus/issues/2817

# dump_default_english_config()

import subprocess

import threading

import time

import socket

def iframe_thread(port):

while True:

time.sleep(0.5)

sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

result = sock.connect_ex(('127.0.0.1', port))

if result == 0:

break

sock.close()

print("\nFooocus finished loading, trying to launch cloudflared (if it gets


stuck here cloudflared is having issues)\n")
p = subprocess.Popen(["cloudflared", "tunnel", "--url", "http://127.0.0.1:
{}".format(port)], stdout=subprocess.PIPE, stderr=subprocess.PIPE)

for line in p.stderr:

l = line.decode()

if "trycloudflare.com" in l:

print("This is the URL to access Fooocus:", l[l.find("https"):], end='')

port = 7865 # Replace with the port number used by Fooocus

threading.Thread(target=iframe_thread, daemon=True, args=(port,)).start()

shared.gradio_root.launch(

inbrowser=args_manager.args.in_browser,

server_name=args_manager.args.listen,

server_port=args_manager.args.port,

allowed_paths=[modules.config.path_outputs],

blocked_paths=[constants.AUTH_FILENAME]

overlapping body, double exposure, out of frame, lowres, text, error,


cropped, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid,
mutilated, out of frame, extra fingers, mutated hands, poorly drawn hands,
poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy,
bad proportions, extra limbs, cloned face, disfigured, gross proportions,
malformed limbs, missing arms, missing legs, extra arms, extra legs, fused
fingers, too many fingers, long neck, username, watermark, signature,

https://docs.google.com/spreadsheets/d/1AF5bd-
fALxlu0lguZQiQVn1yZwxUiBJGyh2eyJJWl74/edit#gid=0

You might also like