Spaces:
Runtime error
Runtime error
philipp-zettl
commited on
Commit
•
082fc10
1
Parent(s):
1ccde3b
Update app.py
Browse files
app.py
CHANGED
@@ -314,24 +314,31 @@ def create_file_download(qnas):
|
|
314 |
with gr.Blocks() as demo:
|
315 |
with gr.Tab(label='Description'):
|
316 |
with gr.Row(equal_height=True):
|
317 |
-
gr.
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
335 |
If you're satisfied with the generated data set, you can export it as TSV
|
336 |
to edit or import it into your favourite tool.
|
337 |
""")
|
|
|
314 |
with gr.Blocks() as demo:
|
315 |
with gr.Tab(label='Description'):
|
316 |
with gr.Row(equal_height=True):
|
317 |
+
with gr.Column():
|
318 |
+
gr.Markdown(
|
319 |
+
"""
|
320 |
+
# QA-Generator
|
321 |
+
A combination of fine-tuned flan-T5(-small) models chained into sequence
|
322 |
+
to generate:
|
323 |
+
|
324 |
+
a) a versatile set of questions
|
325 |
+
b) an accurate set of matching answers
|
326 |
+
|
327 |
+
according to a given piece of text content.""")
|
328 |
+
with gr.Column():
|
329 |
+
gr.Markdown(
|
330 |
+
"""
|
331 |
+
The idea is simple:
|
332 |
+
|
333 |
+
1. Add your content
|
334 |
+
2. Select the amount of questions you want to generate
|
335 |
+
3. (optional) Select the amount of answers you want to generate per goven question
|
336 |
+
4. Press generate
|
337 |
+
5. ???
|
338 |
+
6. Profit
|
339 |
+
""")
|
340 |
+
with gr.Row(equal_height=True):
|
341 |
+
gr.Markdown("""
|
342 |
If you're satisfied with the generated data set, you can export it as TSV
|
343 |
to edit or import it into your favourite tool.
|
344 |
""")
|