Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -97,7 +97,7 @@ def rag(input_text, file):
|
|
97 |
query_engine = index.as_query_engine()
|
98 |
return query_engine.query(
|
99 |
input_text
|
100 |
-
)
|
101 |
|
102 |
iface = gr.Interface(fn=rag, inputs=[gr.Textbox(label="Pitanje:", lines=6), gr.File()],
|
103 |
outputs=[gr.Textbox(label="Odgovor:", lines=6)],
|
|
|
97 |
query_engine = index.as_query_engine()
|
98 |
return query_engine.query(
|
99 |
input_text
|
100 |
+
)
|
101 |
|
102 |
iface = gr.Interface(fn=rag, inputs=[gr.Textbox(label="Pitanje:", lines=6), gr.File()],
|
103 |
outputs=[gr.Textbox(label="Odgovor:", lines=6)],
|