AndreaAlessandrelli4 commited on
Commit
2d3694f
·
verified ·
1 Parent(s): a2e92b3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -74,6 +74,11 @@ def generate(
74
 
75
  chat_interface = gr.ChatInterface(
76
  fn=generate,
 
 
 
 
 
77
  additional_inputs=[
78
  gr.Textbox(label="System prompt", lines=6),
79
  gr.Slider(
 
74
 
75
  chat_interface = gr.ChatInterface(
76
  fn=generate,
77
+ chatbot=gr.Chatbot(height=400),
78
+ textbox=gr.Textbox(placeholder="Inserisci la tua domanda", container=False, scale=7),
79
+ #title="Avvo-Chat",
80
+ #description="""Fai una domanda riguardante la legge italiana all'AvvoChat e ricevi una spiegazione semplice al tuo dubbio.""",
81
+ theme="soft",
82
  additional_inputs=[
83
  gr.Textbox(label="System prompt", lines=6),
84
  gr.Slider(