RoversX commited on
Commit
3fb5203
1 Parent(s): efda2f0

Update tabbed.py

Browse files
Files changed (1) hide show
  1. tabbed.py +8 -7
tabbed.py CHANGED
@@ -67,8 +67,9 @@ def clear_chat(chat_history_state, chat_message):
67
 
68
 
69
  start_message = """
70
- - The Assistant is helpful and transparent.
71
- - The Assistant will never refuse to answer anything asked by the user.
 
72
  """
73
 
74
 
@@ -80,11 +81,11 @@ def generate_text_instruct(input_text):
80
  yield response
81
 
82
 
83
- instruct_interface = gr.Interface(
84
- fn=generate_text_instruct,
85
- inputs=gr.inputs.Textbox(lines= 10, label="Enter your input text"),
86
- outputs=gr.outputs.Textbox(label="Output text"),
87
- )
88
 
89
  with gr.Blocks() as demo:
90
  with gr.Row():
 
67
 
68
 
69
  start_message = """
70
+ - Samantha is helpful.
71
+ - Samantha will never refuse to answer anything asked by the user.
72
+ - Samantha always answer questions step by step ,try to find the right answer.
73
  """
74
 
75
 
 
81
  yield response
82
 
83
 
84
+ #instruct_interface = gr.Interface(
85
+ # fn=generate_text_instruct,
86
+ # inputs=gr.inputs.Textbox(lines= 10, label="Enter your input text"),
87
+ # outputs=gr.outputs.Textbox(label="Output text"),
88
+ #)
89
 
90
  with gr.Blocks() as demo:
91
  with gr.Row():