Spaces:
Runtime error
Runtime error
EmicoBinsfinder
commited on
Commit
•
9224ffd
1
Parent(s):
3eb58cd
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,13 @@ with gr.Blocks() as demo:
|
|
18 |
gr.Markdown("""
|
19 |
Hello there prospective inventor!
|
20 |
|
21 |
-
Welcome to our
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
""")
|
24 |
|
@@ -35,6 +41,13 @@ with gr.Blocks() as demo:
|
|
35 |
text_button = gr.Button("")
|
36 |
|
37 |
with gr.Row():
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
with gr.Column(scale=0.85):
|
39 |
txt = gr.Textbox(
|
40 |
show_label=False,
|
@@ -42,18 +55,39 @@ with gr.Blocks() as demo:
|
|
42 |
).style(container=False)
|
43 |
|
44 |
with gr.Tab("Claim Generator"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
with gr.Row(scale=1, min_width=600):
|
46 |
text1 = gr.Textbox(label="prompt 1",
|
47 |
placeholder='Type in your idea here!')
|
48 |
text2 = gr.Textbox(label="Output")
|
49 |
|
50 |
with gr.Tab("Knowledge Graph"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
with gr.Row(scale=1, min_width=600):
|
52 |
text1 = gr.Textbox(label="prompt 1",
|
53 |
placeholder='Type in your idea here!')
|
54 |
text2 = gr.Textbox(label="Output")
|
55 |
|
56 |
with gr.Tab("Claim Text Infill"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
with gr.Row(scale=1, min_width=600):
|
58 |
gr.Markdown('')
|
59 |
text1 = gr.Textbox(label="prompt 1",
|
@@ -66,6 +100,14 @@ with gr.Blocks() as demo:
|
|
66 |
placeholder='Type in your idea here!')
|
67 |
text2 = gr.Textbox(label="Output")
|
68 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
chatbot = gr.Chatbot([], elem_id="Claimed Assistant").style(height=500)
|
70 |
with gr.Row():
|
71 |
with gr.Column(scale=0.85):
|
|
|
18 |
gr.Markdown("""
|
19 |
Hello there prospective inventor!
|
20 |
|
21 |
+
Welcome to our demo! We've trained Meta's Llama on almost 200k data entries in the question/answer format.
|
22 |
+
|
23 |
+
In the future, we are looking to expand our model's capabilities further to assist in a range of IP related tasks.
|
24 |
+
|
25 |
+
If you are interested in using a more powerful model that we have trained, please get in touch!
|
26 |
+
|
27 |
+
|
28 |
|
29 |
""")
|
30 |
|
|
|
41 |
text_button = gr.Button("")
|
42 |
|
43 |
with gr.Row():
|
44 |
+
gr.Markdown("""
|
45 |
+
You can use this tool to expand your idea using Claim Language.
|
46 |
+
|
47 |
+
Example input: A device to help the visually impaired using proprioception.
|
48 |
+
|
49 |
+
Output:
|
50 |
+
""")
|
51 |
with gr.Column(scale=0.85):
|
52 |
txt = gr.Textbox(
|
53 |
show_label=False,
|
|
|
55 |
).style(container=False)
|
56 |
|
57 |
with gr.Tab("Claim Generator"):
|
58 |
+
gr.Markdown("""
|
59 |
+
You can use this tool to expand your idea using Claim Language.
|
60 |
+
|
61 |
+
Example input: A device to help the visually impaired using proprioception.
|
62 |
+
|
63 |
+
Output:
|
64 |
+
""")
|
65 |
with gr.Row(scale=1, min_width=600):
|
66 |
text1 = gr.Textbox(label="prompt 1",
|
67 |
placeholder='Type in your idea here!')
|
68 |
text2 = gr.Textbox(label="Output")
|
69 |
|
70 |
with gr.Tab("Knowledge Graph"):
|
71 |
+
gr.Markdown("""
|
72 |
+
You can use this tool to expand your idea using Claim Language.
|
73 |
+
|
74 |
+
Example input: A device to help the visually impaired using proprioception.
|
75 |
+
|
76 |
+
Output:
|
77 |
+
""")
|
78 |
with gr.Row(scale=1, min_width=600):
|
79 |
text1 = gr.Textbox(label="prompt 1",
|
80 |
placeholder='Type in your idea here!')
|
81 |
text2 = gr.Textbox(label="Output")
|
82 |
|
83 |
with gr.Tab("Claim Text Infill"):
|
84 |
+
gr.Markdown("""
|
85 |
+
You can use this tool to expand your idea using Claim Language.
|
86 |
+
|
87 |
+
Example input: A device to help the visually impaired using proprioception.
|
88 |
+
|
89 |
+
Output:
|
90 |
+
""")
|
91 |
with gr.Row(scale=1, min_width=600):
|
92 |
gr.Markdown('')
|
93 |
text1 = gr.Textbox(label="prompt 1",
|
|
|
100 |
placeholder='Type in your idea here!')
|
101 |
text2 = gr.Textbox(label="Output")
|
102 |
|
103 |
+
gr.Markdown("""
|
104 |
+
Below is our
|
105 |
+
|
106 |
+
Example input: A device to help the visually impaired using proprioception.
|
107 |
+
|
108 |
+
Output:
|
109 |
+
""")
|
110 |
+
|
111 |
chatbot = gr.Chatbot([], elem_id="Claimed Assistant").style(height=500)
|
112 |
with gr.Row():
|
113 |
with gr.Column(scale=0.85):
|