Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -147,7 +147,7 @@ iface_doc = gr.ChatInterface(
|
|
| 147 |
delete_cache = (300,360),
|
| 148 |
css = "CSS/chat_style.css",
|
| 149 |
|
| 150 |
-
)
|
| 151 |
|
| 152 |
iface_IS = gr.ChatInterface(
|
| 153 |
fn = chat_query_IS,
|
|
@@ -161,7 +161,7 @@ iface_IS = gr.ChatInterface(
|
|
| 161 |
fill_height = True,
|
| 162 |
delete_cache = (300,360),
|
| 163 |
css = "CSS/chat_style.css",
|
| 164 |
-
)
|
| 165 |
|
| 166 |
Title= "# Conversational BOT for Model-TS & Indian / International Standards"
|
| 167 |
|
|
@@ -205,5 +205,5 @@ with gr.Blocks(css="CSS/style.css", fill_height=True) as demo:
|
|
| 205 |
iface_IS.render()
|
| 206 |
|
| 207 |
|
| 208 |
-
if __name__ == "__main__":
|
| 209 |
-
|
|
|
|
| 147 |
delete_cache = (300,360),
|
| 148 |
css = "CSS/chat_style.css",
|
| 149 |
|
| 150 |
+
).queue()
|
| 151 |
|
| 152 |
iface_IS = gr.ChatInterface(
|
| 153 |
fn = chat_query_IS,
|
|
|
|
| 161 |
fill_height = True,
|
| 162 |
delete_cache = (300,360),
|
| 163 |
css = "CSS/chat_style.css",
|
| 164 |
+
).queue()
|
| 165 |
|
| 166 |
Title= "# Conversational BOT for Model-TS & Indian / International Standards"
|
| 167 |
|
|
|
|
| 205 |
iface_IS.render()
|
| 206 |
|
| 207 |
|
| 208 |
+
#if __name__ == "__main__":
|
| 209 |
+
demo.launch(debug=True)
|