Merge branch 'main' of https://huggingface.co/spaces/Somekindofathing/chat_completion_test
Browse files
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: π
|
4 |
colorFrom: blue
|
5 |
colorTo: blue
|
|
|
1 |
---
|
2 |
+
title: Ontology Individuals Filler
|
3 |
emoji: π
|
4 |
colorFrom: blue
|
5 |
colorTo: blue
|
app.py
CHANGED
@@ -938,13 +938,12 @@ chat_interface = gr.ChatInterface(
|
|
938 |
],
|
939 |
stop_btn=True,
|
940 |
examples=[
|
941 |
-
[
|
942 |
],
|
943 |
cache_examples=False,
|
944 |
type="messages",
|
945 |
show_progress="full",
|
946 |
run_examples_on_click=False
|
947 |
-
|
948 |
)
|
949 |
|
950 |
with gr.Blocks() as demo:
|
@@ -958,7 +957,6 @@ with gr.Blocks() as demo:
|
|
958 |
chat_interface.examples = [[fe.file_content]]
|
959 |
chat_interface.render()
|
960 |
|
961 |
-
|
962 |
if __name__ == "__main__":
|
963 |
auth = HuggingFaceLogin()
|
964 |
if auth.login():
|
|
|
938 |
],
|
939 |
stop_btn=True,
|
940 |
examples=[
|
941 |
+
["In bullet-points, give me the classes from that Turtle ontology :"]
|
942 |
],
|
943 |
cache_examples=False,
|
944 |
type="messages",
|
945 |
show_progress="full",
|
946 |
run_examples_on_click=False
|
|
|
947 |
)
|
948 |
|
949 |
with gr.Blocks() as demo:
|
|
|
957 |
chat_interface.examples = [[fe.file_content]]
|
958 |
chat_interface.render()
|
959 |
|
|
|
960 |
if __name__ == "__main__":
|
961 |
auth = HuggingFaceLogin()
|
962 |
if auth.login():
|