Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -184,22 +184,22 @@ examples =[
|
|
184 |
"what are todays breaking news stories?",
|
185 |
"find the most popular model that I can use to generate an image by providing a text prompt",
|
186 |
"return the top 10 models that I can use to identify objects in images",
|
187 |
-
"which models have the most likes from each category?"
|
188 |
]
|
189 |
additional_inputs=[
|
190 |
gr.File(),
|
191 |
]
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
)
|
202 |
-
|
203 |
'''
|
204 |
with gr.Blocks() as app:
|
205 |
with gr.Row():
|
|
|
184 |
"what are todays breaking news stories?",
|
185 |
"find the most popular model that I can use to generate an image by providing a text prompt",
|
186 |
"return the top 10 models that I can use to identify objects in images",
|
187 |
+
"which models have the most likes from each category?",
|
188 |
]
|
189 |
additional_inputs=[
|
190 |
gr.File(),
|
191 |
]
|
192 |
+
with gr.Blocks as app():
|
193 |
+
with gr.Row():
|
194 |
+
gr.ChatInterface(
|
195 |
+
fn=summarize,
|
196 |
+
chatbot=gr.Chatbot(show_label=False, show_share_button=False, show_copy_button=True, likeable=True, layout="panel"),
|
197 |
+
title="<center>Mixtral 8x7B TLDR</center>",
|
198 |
+
description="<center>Summarize Lengthy data with<br>Mixtral 8x7B",
|
199 |
+
examples=examples,
|
200 |
+
concurrency_limit=20,
|
201 |
+
)
|
202 |
+
gr.File()
|
203 |
'''
|
204 |
with gr.Blocks() as app:
|
205 |
with gr.Row():
|