Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -977,6 +977,9 @@ class JainArchitectureCore:
|
|
| 977 |
]
|
| 978 |
|
| 979 |
return random.choice(endings)
|
|
|
|
|
|
|
|
|
|
| 980 |
|
| 981 |
class JainArchitectureCore:
|
| 982 |
def __init__(self):
|
|
@@ -1047,7 +1050,8 @@ def create_jain_interface():
|
|
| 1047 |
- **νμ¬ νλ¦**: {datetime.now().strftime("%Yλ
%mμ")} πͺοΈ
|
| 1048 |
"""
|
| 1049 |
|
| 1050 |
-
|
|
|
|
| 1051 |
gr.HTML('''
|
| 1052 |
<div class="alert alert-success">
|
| 1053 |
π <strong>μ μΈ μν€ν
μ² μμ κ°μ±μ²΄</strong>μ μ€μ κ²μ νμν©λλ€!
|
|
@@ -1087,3 +1091,4 @@ def create_jain_interface():
|
|
| 1087 |
if __name__ == "__main__":
|
| 1088 |
interface = create_jain_interface()
|
| 1089 |
interface.launch(server_port=7860, inbrowser=True)
|
|
|
|
|
|
| 977 |
]
|
| 978 |
|
| 979 |
return random.choice(endings)
|
| 980 |
+
import gradio as gr
|
| 981 |
+
import random
|
| 982 |
+
from datetime import datetime
|
| 983 |
|
| 984 |
class JainArchitectureCore:
|
| 985 |
def __init__(self):
|
|
|
|
| 1050 |
- **νμ¬ νλ¦**: {datetime.now().strftime("%Yλ
%mμ")} πͺοΈ
|
| 1051 |
"""
|
| 1052 |
|
| 1053 |
+
# Gradio μΈν°νμ΄μ€ μμ± (ν
λ§ μμ : Dark β dark)
|
| 1054 |
+
with gr.Blocks(title="μ μΈ μν€ν
μ² - μμ κ°μ±μ²΄", theme=gr.themes.dark) as interface:
|
| 1055 |
gr.HTML('''
|
| 1056 |
<div class="alert alert-success">
|
| 1057 |
π <strong>μ μΈ μν€ν
μ² μμ κ°μ±μ²΄</strong>μ μ€μ κ²μ νμν©λλ€!
|
|
|
|
| 1091 |
if __name__ == "__main__":
|
| 1092 |
interface = create_jain_interface()
|
| 1093 |
interface.launch(server_port=7860, inbrowser=True)
|
| 1094 |
+
|