rishisim commited on
Commit
79834dc
1 Parent(s): 982cab1

Update app.py with arbitrary_types_alowed

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -1,3 +1,10 @@
 
 
 
 
 
 
 
1
  import gradio as gr
2
 
3
 
 
1
+ from pydantic import BaseModel
2
+
3
+ class BaseModelConfig(BaseModel):
4
+ class Config:
5
+ arbitrary_types_allowed = True
6
+
7
+
8
  import gradio as gr
9
 
10