remove extras
Browse files
app.py
CHANGED
@@ -71,18 +71,11 @@ chat_interface = gr.Interface(
|
|
71 |
gr.Textbox(label="System prompt", type="text"),
|
72 |
],
|
73 |
outputs=gr.Textbox(),
|
74 |
-
live=True,
|
75 |
title="Chat Interface",
|
76 |
description="Interactive chat interface using Hugging Face Transformers.",
|
77 |
-
|
78 |
-
|
79 |
-
["Can you explain briefly to me what is the Python programming language?", "", ""],
|
80 |
-
["Explain the plot of Cinderella in a sentence.", "", ""],
|
81 |
-
["How many hours does it take a man to eat a Helicopter?", "", ""],
|
82 |
-
["Write a 100-word article on 'Benefits of Open-Source in AI research'", "", ""],
|
83 |
-
],
|
84 |
-
interpretation="default",
|
85 |
-
allow_flagging=False,
|
86 |
)
|
87 |
|
88 |
mms_select_source_iden = gr.Radio(
|
@@ -137,3 +130,5 @@ with gr.Blocks() as demo:
|
|
137 |
|
138 |
demo.queue(concurrency_count=3)
|
139 |
demo.launch()
|
|
|
|
|
|
71 |
gr.Textbox(label="System prompt", type="text"),
|
72 |
],
|
73 |
outputs=gr.Textbox(),
|
74 |
+
# live=True,
|
75 |
title="Chat Interface",
|
76 |
description="Interactive chat interface using Hugging Face Transformers.",
|
77 |
+
# interpretation="default",
|
78 |
+
# allow_flagging=False,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
)
|
80 |
|
81 |
mms_select_source_iden = gr.Radio(
|
|
|
130 |
|
131 |
demo.queue(concurrency_count=3)
|
132 |
demo.launch()
|
133 |
+
# demo.queue(max_size=20).launch()
|
134 |
+
|