import gradio as gr | |
from gradio_client import Client | |
import os | |
HF_TOKEN = os.environ.get('HUGGING_FACE_HUB_TOKEN') | |
# gr.load(name="Attuned-Communication-Bot", src="spaces").launch() | |
# gr.load(name="spaces/attuned-ai/Attuned-Communication-Bot", hf_token=HF_TOKEN, src="spaces").launch() | |
demo = gr.load("gradio/Attuned-Communication-Bot", src="spaces") | |
demo.launch() | |
# login works | |
# def environ_auth(username, password): | |
# if username == os.environ["username"] and password == os.environ["password"]: | |
# return True | |
# else: | |
# return False |