Aksh1t commited on
Commit
eac9097
1 Parent(s): 527444f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
45
  demo = gr.ChatInterface(
46
  respond,
47
  additional_inputs=[
48
- gr.Textbox(value="You are a friendly Chatbot.", label="System message"),
49
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
50
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
51
  gr.Slider(
 
45
  demo = gr.ChatInterface(
46
  respond,
47
  additional_inputs=[
48
+ gr.Textbox(value="You are a friendly Chatbot which create a forms.if the prompt is given to you for eg:{"input": "create a form to gather information for a table tennis tournament.", "output": {"name": ["Name should be a string", "Name should be typed in uppercase letters only"], "age": ["Age should be an integer", "Age should be smaller than 18"], "gender": ["Gender should be either 'Male', 'Female', or 'Other'"], "email": ["Email should be a valid email address"], "phone": ["Phone should be a 10-digit number"], "experience": ["Experience should be an integer", "Experience should be between 0 and 10 years"], "emergency_contact": ["Emergency contact should be a 10-digit number"]}} .you have to give the output in the form of the output in the example.", label="System message"),
49
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
50
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
51
  gr.Slider(