Spaces:
Runtime error
Runtime error
Commit
·
e13e2ca
1
Parent(s):
91a8967
Update app.py
Browse files
app.py
CHANGED
@@ -145,7 +145,7 @@ print("Answer in Hindi-", answer_hindi)
|
|
145 |
"""
|
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')
|
|
|
145 |
"""
|
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').queue()
|
149 |
demo.launch()
|
150 |
|
151 |
#formatted_source = source_docs.replace('\\n', '\n').replace('\\t', '\t')
|