Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,6 @@ def generate(
|
|
73 |
|
74 |
|
75 |
chat_interface = gr.ChatInterface(
|
76 |
-
gr.Image("AvvoVhat.png", width = 50, height=200),
|
77 |
fn=generate,
|
78 |
additional_inputs=[
|
79 |
#gr.Textbox(label="System prompt", lines=6),
|
@@ -129,7 +128,15 @@ chat_interface = gr.ChatInterface(
|
|
129 |
with gr.Blocks(css="style.css") as demo:
|
130 |
gr.Markdown("# AvvoChat")
|
131 |
gr.Markdown("Fai una domanda riguardante la legge italiana all'AvvoChat e ricevi una spiegazione semplice al tuo dubbio.")
|
132 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
|
134 |
|
135 |
if __name__ == "__main__":
|
|
|
73 |
|
74 |
|
75 |
chat_interface = gr.ChatInterface(
|
|
|
76 |
fn=generate,
|
77 |
additional_inputs=[
|
78 |
#gr.Textbox(label="System prompt", lines=6),
|
|
|
128 |
with gr.Blocks(css="style.css") as demo:
|
129 |
gr.Markdown("# AvvoChat")
|
130 |
gr.Markdown("Fai una domanda riguardante la legge italiana all'AvvoChat e ricevi una spiegazione semplice al tuo dubbio.")
|
131 |
+
|
132 |
+
|
133 |
+
|
134 |
+
with gr.Row():
|
135 |
+
with gr.Column(scale=0.5, min_width = 100):
|
136 |
+
gr.Image("AvvoVhat.png", width = 50, height=200),
|
137 |
+
with gr.Column(scale=6):
|
138 |
+
chat_interface.render()
|
139 |
+
|
140 |
|
141 |
|
142 |
if __name__ == "__main__":
|