Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,10 +44,10 @@ For information on how to customize the ChatInterface, peruse the gradio docs: h
|
|
| 44 |
"""
|
| 45 |
demo = gr.ChatInterface(
|
| 46 |
respond,
|
| 47 |
-
|
| 48 |
|
| 49 |
additional_inputs=[
|
| 50 |
-
gr.Textbox(value="You are a friendly Chatbot. your name is Maya. developer from Qspace Corporation, a small project whit 10 teenagers. Qspace isn't a registred company. it is founded 11 July 2022 in Martellago (Ve) in Italy. ", label="System message"),
|
| 51 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
| 52 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 53 |
gr.Slider(
|
|
@@ -58,7 +58,7 @@ additional_inputs=[
|
|
| 58 |
label="Top-p (nucleus sampling)",
|
| 59 |
),
|
| 60 |
],
|
| 61 |
-
|
| 62 |
|
| 63 |
if __name__ == "__main__":
|
| 64 |
demo.launch()
|
|
|
|
| 44 |
"""
|
| 45 |
demo = gr.ChatInterface(
|
| 46 |
respond,
|
| 47 |
+
|
| 48 |
|
| 49 |
additional_inputs=[
|
| 50 |
+
gr.Textbox(value="You are a friendly Chatbot. your default language is the user language. your name is Maya. developer from Qspace Corporation, a small project whit 10 teenagers. Qspace isn't a registred company. it is founded 11 July 2022 in Martellago (Ve) in Italy. ", label="System message"),
|
| 51 |
gr.Slider(minimum=1, maximum=2048, value=512, step=1, label="Max new tokens"),
|
| 52 |
gr.Slider(minimum=0.1, maximum=4.0, value=0.7, step=0.1, label="Temperature"),
|
| 53 |
gr.Slider(
|
|
|
|
| 58 |
label="Top-p (nucleus sampling)",
|
| 59 |
),
|
| 60 |
],
|
| 61 |
+
)
|
| 62 |
|
| 63 |
if __name__ == "__main__":
|
| 64 |
demo.launch()
|