Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ def chat_query(question, history):
|
|
121 |
|
122 |
iface = gr.ChatInterface(
|
123 |
fn=chat_query,
|
124 |
-
title=" -----: Conversational BOT for Model-TS :----- ",
|
125 |
description="""-- Welcome to the Language Model trained on `Model Technical Specifications` of Engineering Dept.\n\n
|
126 |
-- The Model tries to answer the Query based on TS, GTR & Specific Requirements. \n\n
|
127 |
-- For precise reply, please input `Specific Keywords` in your Query. \n\n """,
|
@@ -130,6 +130,14 @@ iface = gr.ChatInterface(
|
|
130 |
theme=gr.themes.Base(),
|
131 |
)
|
132 |
|
133 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
|
135 |
# What should be the GIB height outside the GIS hall ?
|
|
|
121 |
|
122 |
iface = gr.ChatInterface(
|
123 |
fn=chat_query,
|
124 |
+
#title=" -----: Conversational BOT for Model-TS :----- ",
|
125 |
description="""-- Welcome to the Language Model trained on `Model Technical Specifications` of Engineering Dept.\n\n
|
126 |
-- The Model tries to answer the Query based on TS, GTR & Specific Requirements. \n\n
|
127 |
-- For precise reply, please input `Specific Keywords` in your Query. \n\n """,
|
|
|
130 |
theme=gr.themes.Base(),
|
131 |
)
|
132 |
|
133 |
+
Title= "# -----: Conversational BOT for Model-TS :----- ",
|
134 |
+
|
135 |
+
with gr.Blocks() as demo:
|
136 |
+
gr.Markdown(Title)
|
137 |
+
iface.render()
|
138 |
+
|
139 |
+
if __name__ == "__main__":
|
140 |
+
demo.queue(max_size=20).launch(debug=True)
|
141 |
+
|
142 |
|
143 |
# What should be the GIB height outside the GIS hall ?
|