Spaces:
Runtime error
Runtime error
TogetherAI
commited on
Commit
•
7f8677c
1
Parent(s):
50de5bb
Update app.py
Browse files
app.py
CHANGED
@@ -317,26 +317,19 @@ examples_list = [
|
|
317 |
["Erkläre die Handlung von Cinderella in einem Satz. Auf Deutsch."],
|
318 |
]
|
319 |
|
320 |
-
logger.info("
|
321 |
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
) as block:
|
326 |
-
# buff_var = gr.State("")
|
327 |
with gr.Accordion("🎈 Info", open=False):
|
328 |
-
# gr.HTML(
|
329 |
-
# """<center><a href="https://huggingface.co/spaces/mikeee/mpt-30b-chat?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate"></a> and spin a CPU UPGRADE to avoid the queue</center>"""
|
330 |
-
# )
|
331 |
gr.Markdown(
|
332 |
-
f"""<h5><center>{Path(model_loc).name}</center></
|
333 |
-
|
334 |
-
|
335 |
-
some related prompts.""",
|
336 |
elem_classes="xsmall",
|
337 |
)
|
338 |
|
339 |
-
# chatbot = gr.Chatbot().style(height=700) # 500
|
340 |
chatbot = gr.Chatbot(height=500)
|
341 |
|
342 |
# buff = gr.Textbox(show_label=False, visible=True)
|
|
|
317 |
["Erkläre die Handlung von Cinderella in einem Satz. Auf Deutsch."],
|
318 |
]
|
319 |
|
320 |
+
logger.info("Starte Block")
|
321 |
|
322 |
+
theme = gr.Theme('ParityError/LimeFace')
|
323 |
+
|
324 |
+
with gr.Blocks(theme=theme, title=f"{Path(model_loc).name}") as block:
|
|
|
|
|
325 |
with gr.Accordion("🎈 Info", open=False):
|
|
|
|
|
|
|
326 |
gr.Markdown(
|
327 |
+
f"""<h5><center>{Path(model_loc).name}</center></h5>
|
328 |
+
Die meisten Beispiele sind für ein anderes Modell gedacht.
|
329 |
+
Du solltest versuchen, einige verwandte Aufforderungen zu testen.""",
|
|
|
330 |
elem_classes="xsmall",
|
331 |
)
|
332 |
|
|
|
333 |
chatbot = gr.Chatbot(height=500)
|
334 |
|
335 |
# buff = gr.Textbox(show_label=False, visible=True)
|