Spaces:
Sleeping
Sleeping
Deploy Pak Angels AI Tutor
Browse files
app.py
CHANGED
|
@@ -246,7 +246,8 @@ def build_app() -> gr.Blocks:
|
|
| 246 |
label="Pak Angels AI Tutor",
|
| 247 |
type="messages",
|
| 248 |
height=520,
|
| 249 |
-
|
|
|
|
| 250 |
)
|
| 251 |
message_box = gr.Textbox(
|
| 252 |
label="Ask Pak Angels AI Tutor",
|
|
@@ -289,4 +290,4 @@ demo = build_app()
|
|
| 289 |
|
| 290 |
|
| 291 |
if __name__ == "__main__":
|
| 292 |
-
demo.queue().launch()
|
|
|
|
| 246 |
label="Pak Angels AI Tutor",
|
| 247 |
type="messages",
|
| 248 |
height=520,
|
| 249 |
+
buttons=["copy"],
|
| 250 |
+
allow_tags=False,
|
| 251 |
)
|
| 252 |
message_box = gr.Textbox(
|
| 253 |
label="Ask Pak Angels AI Tutor",
|
|
|
|
| 290 |
|
| 291 |
|
| 292 |
if __name__ == "__main__":
|
| 293 |
+
demo.queue().launch(server_name="0.0.0.0", server_port=7860, ssr_mode=False)
|