Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -56,8 +56,8 @@ def main():
|
|
56 |
cancel_handles = []
|
57 |
with gr.Blocks(title="ChatGPT 学术优化", theme=set_theme, analytics_enabled=False, css=advanced_css) as demo:
|
58 |
gr.HTML(title_html)
|
59 |
-
gr.HTML('''
|
60 |
-
|
61 |
cookies = gr.State({'api_key': API_KEY, 'llm_model': LLM_MODEL})
|
62 |
with gr_L1():
|
63 |
with gr_L2(scale=2):
|
@@ -67,7 +67,7 @@ def main():
|
|
67 |
with gr_L2(scale=1):
|
68 |
with gr.Accordion("输入区", open=True) as area_input_primary:
|
69 |
with gr.Row():
|
70 |
-
txt = gr.Textbox(show_label=False, lines=2, placeholder="
|
71 |
with gr.Row():
|
72 |
submitBtn = gr.Button("提交", variant="primary")
|
73 |
with gr.Row():
|
|
|
56 |
cancel_handles = []
|
57 |
with gr.Blocks(title="ChatGPT 学术优化", theme=set_theme, analytics_enabled=False, css=advanced_css) as demo:
|
58 |
gr.HTML(title_html)
|
59 |
+
gr.HTML('''by dakaiye欢迎关注
|
60 |
+
微信公众号:吾爱地瓜''')
|
61 |
cookies = gr.State({'api_key': API_KEY, 'llm_model': LLM_MODEL})
|
62 |
with gr_L1():
|
63 |
with gr_L2(scale=2):
|
|
|
67 |
with gr_L2(scale=1):
|
68 |
with gr.Accordion("输入区", open=True) as area_input_primary:
|
69 |
with gr.Row():
|
70 |
+
txt = gr.Textbox(show_label=False, lines=2, placeholder="输入问题").style(container=False)
|
71 |
with gr.Row():
|
72 |
submitBtn = gr.Button("提交", variant="primary")
|
73 |
with gr.Row():
|