Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
model_name = "berkeley-nest/Starling-LM-7B-alpha"
|
2 |
|
3 |
-
title = """👋🏻Welcome to Tonic's 💫🌠Starling 7B"""
|
4 |
description = """You can use [💫🌠Starling 7B](https://huggingface.co/berkeley-nest/Starling-LM-7B-alpha) or duplicate it for local use or on Hugging Face! [Join me on Discord to build together](https://discord.gg/VqTxc76K3u)."""
|
5 |
|
6 |
import transformers
|
@@ -72,8 +72,8 @@ examples = [
|
|
72 |
|
73 |
iface = gr.Interface(
|
74 |
fn=starling_bot.predict,
|
75 |
-
title
|
76 |
-
description
|
77 |
inputs=[
|
78 |
gr.Textbox(label="🌟🤩User Message", type="text", lines=5),
|
79 |
gr.Textbox(label="💫🌠Starling Assistant Message or Instructions ", lines=2),
|
|
|
1 |
model_name = "berkeley-nest/Starling-LM-7B-alpha"
|
2 |
|
3 |
+
title = """# 👋🏻Welcome to Tonic's 💫🌠Starling 7B"""
|
4 |
description = """You can use [💫🌠Starling 7B](https://huggingface.co/berkeley-nest/Starling-LM-7B-alpha) or duplicate it for local use or on Hugging Face! [Join me on Discord to build together](https://discord.gg/VqTxc76K3u)."""
|
5 |
|
6 |
import transformers
|
|
|
72 |
|
73 |
iface = gr.Interface(
|
74 |
fn=starling_bot.predict,
|
75 |
+
gr.Markdown(title)
|
76 |
+
gr.Markdown(description)
|
77 |
inputs=[
|
78 |
gr.Textbox(label="🌟🤩User Message", type="text", lines=5),
|
79 |
gr.Textbox(label="💫🌠Starling Assistant Message or Instructions ", lines=2),
|