0Tick commited on
Commit
04bc708
·
1 Parent(s): 2922b18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -7,6 +7,9 @@ import transformers
7
 
8
  import gradio as gr
9
 
 
 
 
10
  class FormRow(FormComponent, gr.Row):
11
  """Same as gr.Row but fits inside gradio forms"""
12
 
 
7
 
8
  import gradio as gr
9
 
10
+ class FormComponent:
11
+ def get_expected_parent(self):
12
+ return gr.components.Form
13
  class FormRow(FormComponent, gr.Row):
14
  """Same as gr.Row but fits inside gradio forms"""
15