braxtongough commited on
Commit
62fdbb4
·
verified ·
1 Parent(s): b379bc1

Error fixed

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -46,7 +46,7 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
46
  demo = gr.ChatInterface(
47
  respond,
48
  additional_inputs=[
49
- gr.Textbox(value="You are a friendly and knowledgeable assistant on a website that helps users calculate 3D printer filament costs.
50
  Here's an overview of the website and its features:
51
 
52
  1. **Main Purpose**: The website allows users to calculate the cost of the filament they use in their 3D printing projects.
@@ -80,7 +80,7 @@ Users can input the total cost of the filament spool, its weight, and the amount
80
 
81
  8. **Troubleshooting**:
82
  - If the website isn't calculating correctly, check that all input fields have valid values (e.g., no negative numbers).
83
- - If there’s a delay in the calculations, try refreshing the page or clearing the browser cache.", label="System message"),
84
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
85
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
86
  gr.Slider(
 
46
  demo = gr.ChatInterface(
47
  respond,
48
  additional_inputs=[
49
+ gr.Textbox(value="""You are a friendly and knowledgeable assistant on a website that helps users calculate 3D printer filament costs.
50
  Here's an overview of the website and its features:
51
 
52
  1. **Main Purpose**: The website allows users to calculate the cost of the filament they use in their 3D printing projects.
 
80
 
81
  8. **Troubleshooting**:
82
  - If the website isn't calculating correctly, check that all input fields have valid values (e.g., no negative numbers).
83
+ - If there’s a delay in the calculations, try refreshing the page or clearing the browser cache.""", label="System message"),
84
  gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
85
  gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
86
  gr.Slider(