Spaces:
Runtime error
Runtime error
File size: 616 Bytes
c4dfe21 ddea92b c4dfe21 ddea92b c4dfe21 ddea92b c4dfe21 ddea92b c4dfe21 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
import gradio as gr
import gradio
from app_cn import demo as demo_cn
from app_en import demo as demo_en
css = """
.table-wrap .cell-wrap input {min-width:80%}
#api-key-textbox textarea {filter:blur(8px); transition: filter 0.25s}
#api-key-textbox textarea:focus {filter:none}
#chat-log-md hr {margin-top: 1rem; margin-bottom: 1rem;}
#chat-markdown-wrap-box {max-height:80vh; overflow: auto !important;}
"""
demo = gr.TabbedInterface(
[
demo_cn,
demo_en,
], [
"中文版",
"English",
], css=css)
if __name__ == "__main__":
demo.queue(concurrency_count=200).launch()
|