Spaces:
Build error
Build error
Commit
·
7f182ed
1
Parent(s):
5eea717
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,8 +53,7 @@ def generate_questions(model_choice,context,answer,numReturnSequences=1,num_beam
|
|
| 53 |
#else :
|
| 54 |
# correctness = "Incorrect"
|
| 55 |
|
| 56 |
-
|
| 57 |
-
return question
|
| 58 |
|
| 59 |
|
| 60 |
demo = gr.Interface(fn=generate_questions, inputs=[gr.Dropdown(label="Model", choices=["mt5-small","mt5-base","banglat5"],value="banglat5"),
|
|
|
|
| 53 |
#else :
|
| 54 |
# correctness = "Incorrect"
|
| 55 |
|
| 56 |
+
return question
|
|
|
|
| 57 |
|
| 58 |
|
| 59 |
demo = gr.Interface(fn=generate_questions, inputs=[gr.Dropdown(label="Model", choices=["mt5-small","mt5-base","banglat5"],value="banglat5"),
|