Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
rishisim
/
aiotsmartlabs-assistant
like
1
Running
App
Files
Files
Community
rishisim
commited on
17 days ago
Commit
79834dc
•
1 Parent(s):
982cab1
Update app.py with arbitrary_types_alowed
Browse files
Files changed (1)
hide
show
app.py
+7
-0
app.py
CHANGED
Viewed
@@ -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