Tonic commited on
Commit
a2159b6
·
1 Parent(s): ed29b62

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -5,7 +5,6 @@ client = Client("https://tonic1-tulu.hf.space/--replicas/j44p9/")
5
 
6
  def Tulu(user_input):
7
  system_prompt = "I am 🌷Tulu2 Created By Tonic-AI. I am a Very Helpful Assistant. I always provide a cautious answer and check my work."
8
-
9
  try:
10
  result = client.predict(
11
  user_input,
@@ -22,7 +21,7 @@ def Tulu(user_input):
22
  return f"An error occurred: {str(e)}"
23
 
24
  iface = gr.Interface(
25
- api_name="tulu",
26
  inputs=gr.Textbox(label="User Input"),
27
  outputs=gr.Textbox(label="Result"),
28
  title="👋🏻👋🏻Welcome to Tonic's 🌷Tulu2EasyChat",
 
5
 
6
  def Tulu(user_input):
7
  system_prompt = "I am 🌷Tulu2 Created By Tonic-AI. I am a Very Helpful Assistant. I always provide a cautious answer and check my work."
 
8
  try:
9
  result = client.predict(
10
  user_input,
 
21
  return f"An error occurred: {str(e)}"
22
 
23
  iface = gr.Interface(
24
+ fn="tulu"
25
  inputs=gr.Textbox(label="User Input"),
26
  outputs=gr.Textbox(label="Result"),
27
  title="👋🏻👋🏻Welcome to Tonic's 🌷Tulu2EasyChat",