Spaces:
Build error
Build error
Anshoo Mehra
commited on
Commit
·
80a0e00
1
Parent(s):
2c82da9
Update app.py
Browse files
app.py
CHANGED
@@ -184,8 +184,8 @@ def _generate(mode, context, hint=None, minLength=50, maxLength=500, lengthPenal
|
|
184 |
return predictionM5, predictionM4, predictionM2, predictionM1, predictionM0
|
185 |
|
186 |
with gr.Blocks() as demo:
|
187 |
-
|
188 |
-
|
189 |
with gr.Accordion(variant='compact', label='Hyperparams', open=False):
|
190 |
with gr.Row():
|
191 |
mode = gr.Radio(["Auto", "Hints"], value="Auto", label="Mode")
|
|
|
184 |
return predictionM5, predictionM4, predictionM2, predictionM1, predictionM0
|
185 |
|
186 |
with gr.Blocks() as demo:
|
187 |
+
gr.Markdown(value="# Question Generation Demo \n [question-generation-auto-t5-v1-base-s](https://huggingface.co/anshoomehra/question-generation-auto-t5-v1-base-s)\n\n[question-generation-auto-t5-v1-base-s-q](https://huggingface.co/anshoomehra/question-generation-auto-t5-v1-base-s-q)\n\n[question-generation-auto-t5-v1-base-s-q-c](https://huggingface.co/anshoomehra/question-generation-auto-t5-v1-base-s-q-c)\n\n[question-generation-auto-hints-t5-v1-base-s-q](https://huggingface.co/anshoomehra/question-generation-auto-hints-t5-v1-base-s-q)\n\n[question-generation-auto-hints-t5-v1-base-s-q-c](https://huggingface.co/anshoomehra/question-generation-auto-hints-t5-v1-base-s-q-c) ")
|
188 |
+
|
189 |
with gr.Accordion(variant='compact', label='Hyperparams', open=False):
|
190 |
with gr.Row():
|
191 |
mode = gr.Radio(["Auto", "Hints"], value="Auto", label="Mode")
|