Spaces:
Runtime error
Runtime error
Commit
·
3eb58cd
1
Parent(s):
99c33b8
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,11 +14,25 @@ def bot(history):
|
|
| 14 |
return history
|
| 15 |
|
| 16 |
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
-
with gr.Tab("
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
text_input = gr.Textbox()
|
| 20 |
text_output = gr.Textbox()
|
| 21 |
-
text_button = gr.Button("
|
| 22 |
|
| 23 |
with gr.Row():
|
| 24 |
with gr.Column(scale=0.85):
|
|
@@ -40,6 +54,13 @@ with gr.Blocks() as demo:
|
|
| 40 |
text2 = gr.Textbox(label="Output")
|
| 41 |
|
| 42 |
with gr.Tab("Claim Text Infill"):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
with gr.Row(scale=1, min_width=600):
|
| 44 |
text1 = gr.Textbox(label="prompt 1",
|
| 45 |
placeholder='Type in your idea here!')
|
|
|
|
| 14 |
return history
|
| 15 |
|
| 16 |
with gr.Blocks() as demo:
|
| 17 |
+
|
| 18 |
+
gr.Markdown("""
|
| 19 |
+
Hello there prospective inventor!
|
| 20 |
+
|
| 21 |
+
Welcome to our
|
| 22 |
+
|
| 23 |
+
""")
|
| 24 |
|
| 25 |
+
with gr.Tab("Claimed Ideator"):
|
| 26 |
+
gr.Markdown("""
|
| 27 |
+
You can use this tool to expand your idea using Claim Language.
|
| 28 |
+
|
| 29 |
+
Example input: A device to help the visually impaired using proprioception.
|
| 30 |
+
|
| 31 |
+
Output:
|
| 32 |
+
""")
|
| 33 |
text_input = gr.Textbox()
|
| 34 |
text_output = gr.Textbox()
|
| 35 |
+
text_button = gr.Button("")
|
| 36 |
|
| 37 |
with gr.Row():
|
| 38 |
with gr.Column(scale=0.85):
|
|
|
|
| 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",
|
| 60 |
+
placeholder='Type in your idea here!')
|
| 61 |
+
text2 = gr.Textbox(label="Output")
|
| 62 |
+
|
| 63 |
+
with gr.Tab("Prosecution Ideator"):
|
| 64 |
with gr.Row(scale=1, min_width=600):
|
| 65 |
text1 = gr.Textbox(label="prompt 1",
|
| 66 |
placeholder='Type in your idea here!')
|