Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,9 @@ MAX_MAX_NEW_TOKENS = 160000
|
|
14 |
DEFAULT_MAX_NEW_TOKENS = 20000
|
15 |
MAX_INPUT_TOKEN_LENGTH = 160000
|
16 |
DESCRIPTION = """
|
|
|
17 |
You can use this Space to test out the current model [01-ai/Yi-6B-200K](https://huggingface.co/01-ai/Yi-6B-200K)
|
18 |
-
You can also use YI-200 by cloning this space. Simply click here: <a style="display:inline-block" href="https://huggingface.co/spaces/
|
19 |
Join us : TeamTonic is always making cool demos! Join our active builder's community on Discord: [Discord](https://discord.gg/nXx5wbX9) On Huggingface: [TeamTonic](https://huggingface.co/TeamTonic) & [MultiTransformer](https://huggingface.co/MultiTransformer) On Github: [Polytonic](https://github.com/tonic-ai) & contribute to [PolyGPT](https://github.com/tonic-ai/polygpt-alpha)
|
20 |
"""
|
21 |
|
@@ -52,7 +53,6 @@ def generate(prompt, max_new_tokens, temperature, top_p, top_k):
|
|
52 |
|
53 |
# Gradio Interface
|
54 |
with gr.Blocks(theme='ParityError/Anime') as demo:
|
55 |
-
gr.Title("👋🏻Welcome to🌟Tonic's☯️🏆YI-6B-200K🔥🚀")
|
56 |
gr.Markdown(DESCRIPTION)
|
57 |
|
58 |
with gr.Group():
|
|
|
14 |
DEFAULT_MAX_NEW_TOKENS = 20000
|
15 |
MAX_INPUT_TOKEN_LENGTH = 160000
|
16 |
DESCRIPTION = """
|
17 |
+
# Welcome to Tonic's Yi-6B-200K
|
18 |
You can use this Space to test out the current model [01-ai/Yi-6B-200K](https://huggingface.co/01-ai/Yi-6B-200K)
|
19 |
+
You can also use YI-200 by cloning this space. Simply click here: <a style="display:inline-block" href="https://huggingface.co/spaces/TeamTonic/Tonics-Yi-6B-200K/?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a></h3>
|
20 |
Join us : TeamTonic is always making cool demos! Join our active builder's community on Discord: [Discord](https://discord.gg/nXx5wbX9) On Huggingface: [TeamTonic](https://huggingface.co/TeamTonic) & [MultiTransformer](https://huggingface.co/MultiTransformer) On Github: [Polytonic](https://github.com/tonic-ai) & contribute to [PolyGPT](https://github.com/tonic-ai/polygpt-alpha)
|
21 |
"""
|
22 |
|
|
|
53 |
|
54 |
# Gradio Interface
|
55 |
with gr.Blocks(theme='ParityError/Anime') as demo:
|
|
|
56 |
gr.Markdown(DESCRIPTION)
|
57 |
|
58 |
with gr.Group():
|