test
Browse files15 unmodified lines16171819202122158 unmodified lines18118218318418518618718818919015 unmodified lineslogging.basicConfig(level=logging.INFO)logger = logging.getLogger(__name__)DESCRIPTION = "AI Character Generator"if not torch.cuda.is_available():DESCRIPTION += "\n<p>Running on CPU 🥶 This demo does not work on CPU. </p>"IS_COLAB = utils.is_google_colab() or os.getenv("IS_COLAB") == "1"158 unmodified linesf"""<h1><span>{DESCRIPTION}</span></h1>""",elem_id="title",)gr.Markdown(f"""Input your character description in the prompt with as much details as you want""",elem_id="subtitle",)with gr.Group():with gr.Row():15 unmodified lines16171819202122158 unmodified lines18118218318418518618715 unmodified lineslogging.basicConfig(level=logging.INFO)logger = logging.getLogger(__name__)DESCRIPTION = ""if not torch.cuda.is_available():DESCRIPTION += "\n<p>Running on CPU 🥶 This demo does not work on CPU. </p>"IS_COLAB = utils.is_google_colab() or os.getenv("IS_COLAB") == "1"158 unmodified linesf"""<h1><span>{DESCRIPTION}</span></h1>""",elem_id="title",)with gr.Group():with gr.Row():
app.py+2-5