Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -119,14 +119,10 @@ def process(input):
|
|
119 |
output += token
|
120 |
return output
|
121 |
|
122 |
-
iface = gr.
|
123 |
fn=process,
|
124 |
-
inputs="text",
|
125 |
-
outputs="text",
|
126 |
title="Métropole Signature Expert",
|
127 |
description="Provide a question related to signing authorities and get a response.",
|
128 |
-
cache_examples=True,
|
129 |
-
|
130 |
)
|
131 |
|
132 |
iface.launch()
|
|
|
119 |
output += token
|
120 |
return output
|
121 |
|
122 |
+
iface = gr.ChatInterface(
|
123 |
fn=process,
|
|
|
|
|
124 |
title="Métropole Signature Expert",
|
125 |
description="Provide a question related to signing authorities and get a response.",
|
|
|
|
|
126 |
)
|
127 |
|
128 |
iface.launch()
|