Tonic commited on
Commit
ee86b18
1 Parent(s): c00378e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -61,7 +61,7 @@ def gradio_predict(user_message, system_message, max_new_tokens, temperature, to
61
  Tulu_bot = TuluChatBot(model, tokenizer)
62
 
63
 
64
- with gr.Blocks() as demo:
65
  with gr.Row():
66
  system_message = gr.Textbox(label="Optional 🌷Tulu Assistant Message", lines=2)
67
  user_message = gr.Textbox(label="Your Message", lines=3)
@@ -87,8 +87,4 @@ with gr.Blocks() as demo:
87
  outputs=output_text
88
  )
89
 
90
- demo.launch(
91
- title ="Welcome to 🙋🏻‍♂️Tonic's🌷Tulu Chat!",
92
- description = """[allenai/tulu-2-dpo-7b](https://huggingface.co/allenai/tulu-2-dpo-7b) and larger Tulu-2 models are Instruct Llama Finetunes using the [mistralai/Mistral-7B](https://huggingface.co/mistralai/Mistral-7B-v0.1) recipe. You can use [allenai/tulu-2-13b](https://huggingface.co/allenai/tulu-2-13b) here via API using Gradio by scrolling down and clicking Use 'Via API' or privately by [cloning this space on huggingface](https://huggingface.co/spaces/Tonic1/TuluDemo?duplicate=true) See also the large model here : [allenai/tulu-2-dpo-70b](https://huggingface.co/allenai/tulu-2-dpo-70b) . [Join my active builders' server on discord](https://discord.gg/VqTxc76K3u). Let's build together!. [Add this Space as a discord bot to your server by clicking this link](https://discord.com/oauth2/authorize?client_id=1176628808212828231&scope=bot+applications.commands&permissions=326417525824). Big thanks to 🤗Huggingface Organisation for the🫂Community Grant""",
93
- theme = "ParityError/Anime"
94
- )
 
61
  Tulu_bot = TuluChatBot(model, tokenizer)
62
 
63
 
64
+ with gr.Blocks(title ="Welcome to 🙋🏻‍♂️Tonic's🌷Tulu Chat!", description = """[allenai/tulu-2-dpo-7b](https://huggingface.co/allenai/tulu-2-dpo-7b) and larger Tulu-2 models are Instruct Llama Finetunes using the [mistralai/Mistral-7B](https://huggingface.co/mistralai/Mistral-7B-v0.1) recipe. You can use [allenai/tulu-2-13b](https://huggingface.co/allenai/tulu-2-13b) here via API using Gradio by scrolling down and clicking Use 'Via API' or privately by [cloning this space on huggingface](https://huggingface.co/spaces/Tonic1/TuluDemo?duplicate=true) See also the large model here : [allenai/tulu-2-dpo-70b](https://huggingface.co/allenai/tulu-2-dpo-70b) . [Join my active builders' server on discord](https://discord.gg/VqTxc76K3u). Let's build together!. [Add this Space as a discord bot to your server by clicking this link](https://discord.com/oauth2/authorize?client_id=1176628808212828231&scope=bot+applications.commands&permissions=326417525824). Big thanks to 🤗Huggingface Organisation for the🫂Community Grant""", theme = "ParityError/Anime") as demo:
65
  with gr.Row():
66
  system_message = gr.Textbox(label="Optional 🌷Tulu Assistant Message", lines=2)
67
  user_message = gr.Textbox(label="Your Message", lines=3)
 
87
  outputs=output_text
88
  )
89
 
90
+ demo.launch()