Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -518,7 +518,7 @@ with gr.Blocks(css=STYLES) as demo:
|
|
| 518 |
"This application is designed for you to collaborate with LLM to co-write stories. It is inspired by [Wordcraft project](https://wordcraft-writers-workshop.appspot.com/) from Google's PAIR and Magenta teams. "
|
| 519 |
"This application built on [Gradio](https://www.gradio.app), and the underlying text generation is powered by [Hugging Face Inference API](https://huggingface.co/inference-api). The text generation model might"
|
| 520 |
"be changed over time, but [meta-llama/Llama-2-70b-chat-hf](https://huggingface.co/meta-llama/Llama-2-70b-chat-hf) is selected for now. On the `exporting` tab, you can generate cover art for your story. You can "
|
| 521 |
-
"design your own prompt to generate the cover art, or you can let the LLaMA2 to generate one for you. Currently, Stable Diffusion
|
| 522 |
"used.",
|
| 523 |
elem_classes=['center', 'small-big'])
|
| 524 |
|
|
@@ -585,7 +585,7 @@ with gr.Blocks(css=STYLES) as demo:
|
|
| 585 |
|
| 586 |
with gr.Tab("Exporting/Sharing"):
|
| 587 |
with gr.Column(elem_classes=['group-border']):
|
| 588 |
-
gr.Markdown("generate cover art with [`stabilityai/stable-diffusion-
|
| 589 |
"design your own prompt in the textbox below, or just hit 'generate prompt for cover art` button. LLaMA2 "
|
| 590 |
"model will suggest a prompt for you based on your story.")
|
| 591 |
|
|
|
|
| 518 |
"This application is designed for you to collaborate with LLM to co-write stories. It is inspired by [Wordcraft project](https://wordcraft-writers-workshop.appspot.com/) from Google's PAIR and Magenta teams. "
|
| 519 |
"This application built on [Gradio](https://www.gradio.app), and the underlying text generation is powered by [Hugging Face Inference API](https://huggingface.co/inference-api). The text generation model might"
|
| 520 |
"be changed over time, but [meta-llama/Llama-2-70b-chat-hf](https://huggingface.co/meta-llama/Llama-2-70b-chat-hf) is selected for now. On the `exporting` tab, you can generate cover art for your story. You can "
|
| 521 |
+
"design your own prompt to generate the cover art, or you can let the LLaMA2 to generate one for you. Currently, Stable Diffusion XL model `stabilityai/stable-diffusion-xl-base-1.0` by [Stability AI](https://stability.ai/) is "
|
| 522 |
"used.",
|
| 523 |
elem_classes=['center', 'small-big'])
|
| 524 |
|
|
|
|
| 585 |
|
| 586 |
with gr.Tab("Exporting/Sharing"):
|
| 587 |
with gr.Column(elem_classes=['group-border']):
|
| 588 |
+
gr.Markdown("generate cover art with [`stabilityai/stable-diffusion-xl-base-1.0`](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0) model. "
|
| 589 |
"design your own prompt in the textbox below, or just hit 'generate prompt for cover art` button. LLaMA2 "
|
| 590 |
"model will suggest a prompt for you based on your story.")
|
| 591 |
|