philipp-zettl commited on
Commit
f20f8a7
1 Parent(s): 238f239

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +24 -0
app.py CHANGED
@@ -305,6 +305,30 @@ def create_file_download(qnas):
305
 
306
 
307
  with gr.Blocks(css='.hidden_input {display: none;}') as demo:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
308
  with gr.Row(equal_height=True):
309
  with gr.Group("Content"):
310
  content = gr.Textbox(label='Content', lines=15, placeholder='Enter text here', max_lines=10_000)
 
305
 
306
 
307
  with gr.Blocks(css='.hidden_input {display: none;}') as demo:
308
+ with gr.Row(equal_height=True):
309
+ gr.Markdown(
310
+ """
311
+ # QA-Generator
312
+ A combination of fine-tuned flan-T5(-small) models chained into sequence
313
+ to generate:
314
+
315
+ A) a versatile set of questions
316
+ B) an accurate set of matching answers
317
+
318
+ according to a given piece of text content.
319
+
320
+ The idea is simple:
321
+
322
+ 1. Add your content
323
+ 2. Select the amount of questions you want to generate
324
+ 2.2 (optional) Select the amount of answers you want to generate per goven question
325
+ 3. Press generate
326
+ 4. ???
327
+ 5. Profit
328
+
329
+ If you're satisfied with the generated data set, you can export it as TSV
330
+ to edit or import it into your favourite tool.
331
+ """)
332
  with gr.Row(equal_height=True):
333
  with gr.Group("Content"):
334
  content = gr.Textbox(label='Content', lines=15, placeholder='Enter text here', max_lines=10_000)