Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|