Spaces:
Runtime error
Runtime error
thisisam
commited on
Commit
·
7274fb9
1
Parent(s):
3a32d35
new fixes to app and requirements
Browse files- app.py +3 -5
- requirements.txt +2 -3
app.py
CHANGED
|
@@ -206,8 +206,6 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 206 |
method_btn.click(check_access, outputs=output_status)
|
| 207 |
|
| 208 |
if __name__ == "__main__":
|
| 209 |
-
|
| 210 |
-
|
| 211 |
-
|
| 212 |
-
share=False
|
| 213 |
-
)
|
|
|
|
| 206 |
method_btn.click(check_access, outputs=output_status)
|
| 207 |
|
| 208 |
if __name__ == "__main__":
|
| 209 |
+
# On HuggingFace Spaces, we don't need to specify server settings
|
| 210 |
+
# The platform handles this automatically
|
| 211 |
+
demo.launch()
|
|
|
|
|
|
requirements.txt
CHANGED
|
@@ -1,3 +1,2 @@
|
|
| 1 |
-
gradio==4.
|
| 2 |
-
huggingface-hub==0.
|
| 3 |
-
datasets==2.19.0
|
|
|
|
| 1 |
+
gradio==4.44.1
|
| 2 |
+
huggingface-hub==0.26.2
|
|
|