philipp-zettl commited on
Commit
082fc10
1 Parent(s): 1ccde3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +25 -18
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.Markdown(
318
- """
319
- # QA-Generator
320
- A combination of fine-tuned flan-T5(-small) models chained into sequence
321
- to generate:
322
-
323
- a) a versatile set of questions
324
- b) an accurate set of matching answers
325
-
326
- according to a given piece of text content.
327
- The idea is simple:
328
-
329
- 1. Add your content
330
- 2. Select the amount of questions you want to generate
331
- 2.2 (optional) Select the amount of answers you want to generate per goven question
332
- 3. Press generate
333
- 4. ???
334
- 5. Profit
 
 
 
 
 
 
 
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
  """)