Spaces:
Sleeping
Sleeping
Commit ·
6d2a856
1
Parent(s): 8b1a9b9
Update app.py
Browse files
app.py
CHANGED
|
@@ -147,7 +147,7 @@ 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')
|
| 153 |
#print("Source Documents ",formatted_source)
|
|
|
|
| 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')
|
| 153 |
#print("Source Documents ",formatted_source)
|