Spaces:
Sleeping
Sleeping
Commit ·
36cea4d
1
Parent(s): 29975d2
Update app.py
Browse files
app.py
CHANGED
|
@@ -146,6 +146,7 @@ print("Answer in Hindi-", answer_hindi)
|
|
| 146 |
title = "Zero2AI CCCS Demo"
|
| 147 |
description = "Demonstration of multi-document and multi-lingual Q&A on China."
|
| 148 |
demo = gr.Interface(cccs_demo, [gr.Textbox(label="Question")],[gr.Textbox(label="Answer"),gr.Textbox(label="Repository Summary"),gr.File(label="Reference Details")], title=title, description=description,theme=gr.themes.Glass(primary_hue="indigo", secondary_hue="purple"),allow_flagging='never')
|
|
|
|
| 149 |
demo.launch()
|
| 150 |
|
| 151 |
#formatted_source = source_docs.replace('\\n', '\n').replace('\\t', '\t')
|
|
|
|
| 146 |
title = "Zero2AI CCCS Demo"
|
| 147 |
description = "Demonstration of multi-document and multi-lingual Q&A on China."
|
| 148 |
demo = gr.Interface(cccs_demo, [gr.Textbox(label="Question")],[gr.Textbox(label="Answer"),gr.Textbox(label="Repository Summary"),gr.File(label="Reference Details")], title=title, description=description,theme=gr.themes.Glass(primary_hue="indigo", secondary_hue="purple"),allow_flagging='never')
|
| 149 |
+
demo.queue()
|
| 150 |
demo.launch()
|
| 151 |
|
| 152 |
#formatted_source = source_docs.replace('\\n', '\n').replace('\\t', '\t')
|