Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,11 +14,11 @@ MAX_MAX_NEW_TOKENS = 2048
|
|
| 14 |
DEFAULT_MAX_NEW_TOKENS = 930
|
| 15 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
| 16 |
|
| 17 |
-
# Description and License Texts
|
| 18 |
-
DESCRIPTION = """
|
| 19 |
-
# ✨Storytell AI🧑🏽💻
|
| 20 |
-
Welcome to the **Storytell AI** space, crafted with care by Ranam & George. Dive into the world of educational storytelling with our model. This iteration of the Llama 2 model with 7 billion parameters is fine-tuned to generate educational stories that engage and educate. Enjoy a journey of discovery and creativity—your storytelling lesson begins here! You can prompt this model to explain any computer science concept. **Please check the examples below**.
|
| 21 |
-
"""
|
| 22 |
LICENSE = """
|
| 23 |
---
|
| 24 |
As a derivative work of [Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) by Meta,
|
|
@@ -126,7 +126,7 @@ chat_interface = gr.ChatInterface(
|
|
| 126 |
|
| 127 |
# Gradio Web Interface
|
| 128 |
with gr.Blocks(css="style.css",theme='shivi/calm_seafoam') as demo:
|
| 129 |
-
gr.Markdown(DESCRIPTION)
|
| 130 |
chat_interface.render()
|
| 131 |
gr.Markdown(LICENSE)
|
| 132 |
|
|
|
|
| 14 |
DEFAULT_MAX_NEW_TOKENS = 930
|
| 15 |
MAX_INPUT_TOKEN_LENGTH = int(os.getenv("MAX_INPUT_TOKEN_LENGTH", "4096"))
|
| 16 |
|
| 17 |
+
# # Description and License Texts
|
| 18 |
+
# DESCRIPTION = """
|
| 19 |
+
# # ✨Storytell AI🧑🏽💻
|
| 20 |
+
# Welcome to the **Storytell AI** space, crafted with care by Ranam & George. Dive into the world of educational storytelling with our model. This iteration of the Llama 2 model with 7 billion parameters is fine-tuned to generate educational stories that engage and educate. Enjoy a journey of discovery and creativity—your storytelling lesson begins here! You can prompt this model to explain any computer science concept. **Please check the examples below**.
|
| 21 |
+
# """
|
| 22 |
LICENSE = """
|
| 23 |
---
|
| 24 |
As a derivative work of [Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) by Meta,
|
|
|
|
| 126 |
|
| 127 |
# Gradio Web Interface
|
| 128 |
with gr.Blocks(css="style.css",theme='shivi/calm_seafoam') as demo:
|
| 129 |
+
# gr.Markdown(DESCRIPTION)
|
| 130 |
chat_interface.render()
|
| 131 |
gr.Markdown(LICENSE)
|
| 132 |
|