Update app.py
Browse files
app.py
CHANGED
@@ -132,8 +132,14 @@ def upload_parquet(file):
|
|
132 |
except Exception as e:
|
133 |
return f"Parquet νμΌ μ
λ‘λ μ€ μ€λ₯κ° λ°μνμ΅λλ€: {str(e)}", None, None
|
134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
# Gradio Blocks μΈν°νμ΄μ€ μ€μ
|
136 |
-
with gr.Blocks() as demo:
|
137 |
gr.Markdown("# LLM μλΉμ€ μΈν°νμ΄μ€")
|
138 |
|
139 |
with gr.Tab("μ±λ΄"):
|
@@ -156,7 +162,7 @@ with gr.Blocks() as demo:
|
|
156 |
)
|
157 |
|
158 |
with gr.Accordion("μμ€ν
ν둬ννΈ λ° μ΅μ
μ€μ ", open=False):
|
159 |
-
system_message = gr.Textbox(label="System Message", value="")
|
160 |
max_tokens = gr.Slider(minimum=1, maximum=8000, value=4000, label="Max Tokens")
|
161 |
temperature = gr.Slider(minimum=0, maximum=1, value=0.7, label="Temperature")
|
162 |
top_p = gr.Slider(minimum=0, maximum=1, value=0.9, label="Top P")
|
|
|
132 |
except Exception as e:
|
133 |
return f"Parquet νμΌ μ
λ‘λ μ€ μ€λ₯κ° λ°μνμ΅λλ€: {str(e)}", None, None
|
134 |
|
135 |
+
css = """
|
136 |
+
footer {
|
137 |
+
visibility: hidden;
|
138 |
+
}
|
139 |
+
"""
|
140 |
+
|
141 |
# Gradio Blocks μΈν°νμ΄μ€ μ€μ
|
142 |
+
with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as demo:
|
143 |
gr.Markdown("# LLM μλΉμ€ μΈν°νμ΄μ€")
|
144 |
|
145 |
with gr.Tab("μ±λ΄"):
|
|
|
162 |
)
|
163 |
|
164 |
with gr.Accordion("μμ€ν
ν둬ννΈ λ° μ΅μ
μ€μ ", open=False):
|
165 |
+
system_message = gr.Textbox(label="System Message", value="λλ AI μ‘°μΈμ μν μ΄λ€λ€")
|
166 |
max_tokens = gr.Slider(minimum=1, maximum=8000, value=4000, label="Max Tokens")
|
167 |
temperature = gr.Slider(minimum=0, maximum=1, value=0.7, label="Temperature")
|
168 |
top_p = gr.Slider(minimum=0, maximum=1, value=0.9, label="Top P")
|