We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c322b68 commit 8fea7a6Copy full SHA for 8fea7a6
demo.py
@@ -0,0 +1,15 @@
1
+import gradio as gr
2
+from languia.block_arena import demo
3
+from languia import config
4
+
5
+# Ensure static paths are set correctly
6
+gr.set_static_paths(paths=[config.assets_absolute_path])
7
8
+# Launch the Gradio app directly
9
+if __name__ == "__main__":
10
+ demo.launch(
11
+ root_path="/arene",
12
+ server_name="0.0.0.0",
13
+ server_port=7860, # Default Gradio port
14
+ share=False, # Set to True if you want to create a shareable link
15
+ )
0 commit comments