EmicoBinsfinder commited on
Commit
92d4436
1 Parent(s): 212ca5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -11
app.py CHANGED
@@ -95,7 +95,7 @@ theme = gr.themes.Base(
95
  with gr.Blocks(title='Claimed', theme=theme) as demo:
96
 
97
  gr.Markdown("""
98
- # CLAIMED - A GENERATIVE TOOLKIT FOR PATENT ATTORNEYS 🫡
99
 
100
  Welcome to our demo! We've trained Meta's Llama on almost 200k data entries in the question/answer format.
101
 
@@ -158,17 +158,27 @@ with gr.Blocks(title='Claimed', theme=theme) as demo:
158
  placeholder='Type in your idea here!')
159
  text2 = gr.Textbox(label="Output")
160
 
161
- with gr.Tab("Claimed Infill"):
162
- gr.Markdown("""
163
- Below is our
164
 
165
- Example input: A device to help the visually impaired using proprioception.
166
 
167
- Output:
 
 
 
 
 
 
 
 
 
 
168
  """)
169
  with gr.Row(scale=1, min_width=600):
170
  text1 = gr.Textbox(label="Input",
171
- placeholder='Type in your idea here!')
172
  text2 = gr.Textbox(label="Output")
173
 
174
 
@@ -176,16 +186,15 @@ with gr.Blocks(title='Claimed', theme=theme) as demo:
176
 
177
  # THE CHATBOT
178
 
179
- Do you want a bit more freedom over the outputs you generate? No worries, you can use a chatbot version of our model below. You can ask it anything by the way, just try to keep it PG.
180
 
181
- If you're concerned about an output from the model, hit the flag button and we will use that information to improve the model.
182
 
183
-
184
 
185
  """)
186
 
187
 
188
- chatbot = gr.Chatbot([], elem_id="Claimed Assistant").style(height=500)
189
  with gr.Row():
190
  with gr.Column(scale=0.85):
191
  txt = gr.Textbox(
 
95
  with gr.Blocks(title='Claimed', theme=theme) as demo:
96
 
97
  gr.Markdown("""
98
+ # CLAIMED - A GENERATIVE TOOLKIT FOR PATENT ATTORNEYS
99
 
100
  Welcome to our demo! We've trained Meta's Llama on almost 200k data entries in the question/answer format.
101
 
 
158
  placeholder='Type in your idea here!')
159
  text2 = gr.Textbox(label="Output")
160
 
161
+ # with gr.Tab("Claimed Infill"):
162
+ # gr.Markdown("""
163
+ # Below is our
164
 
165
+ # Example input: A device to help the visually impaired using proprioception.
166
 
167
+ # Output:
168
+ # """)
169
+ # with gr.Row(scale=1, min_width=600):
170
+ # text1 = gr.Textbox(label="Input",
171
+ # placeholder='Type in your idea here!')
172
+ # text2 = gr.Textbox(label="Output")
173
+
174
+ with gr.Tab("CPC Classifier"):
175
+ gr.Markdown("""
176
+ Use this tool to classify your invention according to Cooperative Patent Classification system.
177
+
178
  """)
179
  with gr.Row(scale=1, min_width=600):
180
  text1 = gr.Textbox(label="Input",
181
+ placeholder='Type in your Claim/Description/Abstract Here')
182
  text2 = gr.Textbox(label="Output")
183
 
184
 
 
186
 
187
  # THE CHATBOT
188
 
189
+ Do you want a bit more freedom over the outputs you generate? No worries, you can use a chatbot version of our model below. You can ask it anything.
190
 
191
+ If you're concerned about a particular output, hit the flag button and we will use that information to improve the model.
192
 
 
193
 
194
  """)
195
 
196
 
197
+ chatbot = gr.Chatbot([], elem_id="Claimed Assistant").style(height=100)
198
  with gr.Row():
199
  with gr.Column(scale=0.85):
200
  txt = gr.Textbox(