Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -154,6 +154,12 @@ with gr.Blocks() as demo:
|
|
154 |
|
155 |
ask_button.click(query_tqa, inputs=[query_input], outputs=[model_output,model_metadata,reference,reference_text])
|
156 |
plot_button.click(plot_full_kg, outputs=kg_output)
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
|
158 |
demo.launch(auth=(os.getenv('id'), os.getenv('pass')), share=True)
|
159 |
# demo.launch(share=False)
|
|
|
154 |
|
155 |
ask_button.click(query_tqa, inputs=[query_input], outputs=[model_output,model_metadata,reference,reference_text])
|
156 |
plot_button.click(plot_full_kg, outputs=kg_output)
|
157 |
+
examples = gr.Examples(
|
158 |
+
examples=[
|
159 |
+
["what are the upselling ideas for roaming package you can recommend for customer Rina Wati."],
|
160 |
+
],
|
161 |
+
inputs=[query_input]
|
162 |
+
)
|
163 |
|
164 |
demo.launch(auth=(os.getenv('id'), os.getenv('pass')), share=True)
|
165 |
# demo.launch(share=False)
|