Spaces:
Runtime error
Runtime error
Commit
·
882c804
1
Parent(s):
f793c19
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def image_classifier(inp):
|
|
24 |
return {'cat': 0.3, 'dog': 0.7}
|
25 |
|
26 |
demo = gr.Interface(fn=image_classifier, inputs="image", outputs="text", analytics_enabled=True)
|
27 |
-
demo.launch(max_threads=1,
|
28 |
|
29 |
URL = "https://www.formula1.com/content/fom-website/en/latest/all.xml"
|
30 |
|
|
|
24 |
return {'cat': 0.3, 'dog': 0.7}
|
25 |
|
26 |
demo = gr.Interface(fn=image_classifier, inputs="image", outputs="text", analytics_enabled=True)
|
27 |
+
demo.launch(max_threads=1, show_api=False)
|
28 |
|
29 |
URL = "https://www.formula1.com/content/fom-website/en/latest/all.xml"
|
30 |
|